Created
December 17, 2016 03:22
-
-
Save mmasaki/f23f4650eac0a9811bf4f204ff9683b1 to your computer and use it in GitHub Desktop.
Fluent Formatter Configuration Example for Nova
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[loggers] | |
keys = root | |
[handlers] | |
keys = fluent | |
[formatters] | |
keys = fluent | |
[logger_root] | |
level = INFO | |
handlers = fluent | |
[handler_fluent] | |
class = fluent.handler.FluentHandler | |
args = ('openstack.nova.nova-api', 'localhost', 24224) | |
formatter = fluent | |
[formatter_fluent] | |
class = oslo_log.formatters.FluentFormatter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DEFAULT] | |
log_config_append = "/etc/nova/logging.conf" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment