diff options
Diffstat (limited to 'ipa-server/ipa-gui/ipagui/config/log.cfg')
-rw-r--r-- | ipa-server/ipa-gui/ipagui/config/log.cfg | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ipa-server/ipa-gui/ipagui/config/log.cfg b/ipa-server/ipa-gui/ipagui/config/log.cfg new file mode 100644 index 000000000..ce776f850 --- /dev/null +++ b/ipa-server/ipa-gui/ipagui/config/log.cfg @@ -0,0 +1,29 @@ +# LOGGING +# Logging is often deployment specific, but some handlers and +# formatters can be defined here. + +[logging] +[[formatters]] +[[[message_only]]] +format='*(message)s' + +[[[full_content]]] +format='*(asctime)s *(name)s *(levelname)s *(message)s' + +[[handlers]] +[[[debug_out]]] +class='StreamHandler' +level='DEBUG' +args='(sys.stdout,)' +formatter='full_content' + +[[[access_out]]] +class='StreamHandler' +level='INFO' +args='(sys.stdout,)' +formatter='message_only' + +[[[error_out]]] +class='StreamHandler' +level='ERROR' +args='(sys.stdout,)' |