~michael.nelson/ubuntu-webcatalog/rt-61147-nagios-sca-import

« back to all changes in this revision

Viewing changes to django_project/dev_logging.conf

  • Committer: Michael Nelson
  • Date: 2013-08-27 10:44:34 UTC
  • Revision ID: michael.nelson@canonical.com-20130827104434-o7vxdtdo4hzs2b5i
Switch to file-based logging config to match deployments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[loggers]
 
2
keys=root,import_sca_apps
 
3
 
 
4
[handlers]
 
5
keys=webapp,commands
 
6
 
 
7
[formatters]
 
8
keys=simple_formatter
 
9
 
 
10
[logger_root]
 
11
level=INFO
 
12
handlers=webapp
 
13
 
 
14
[logger_import_sca_apps]
 
15
level=INFO
 
16
handlers=commands
 
17
propagate=0
 
18
qualname=webcatalog.management.commands.import_sca_apps
 
19
 
 
20
[handler_webapp]
 
21
class=FileHandler
 
22
args=('./tmp/webapp.log',)
 
23
formatter=simple_formatter
 
24
 
 
25
[handler_commands]
 
26
class=FileHandler
 
27
args=('./tmp/import_sca_apps.log',)
 
28
formatter=simple_formatter
 
29
 
 
30
[formatter_simple_formatter]
 
31
format=%(asctime)s - %(name)s - %(levelname)s - %(message)s
 
32
datefmt=