Skip to content

Commit

Permalink
bugy#69 committed forgotten logging conf file
Browse files Browse the repository at this point in the history
  • Loading branch information
bugy committed Jun 17, 2017
1 parent fe156c1 commit dbde047
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions conf/logging.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"version": 1,
"disable_existing_loggers": false,
"formatters": {
"simple": {
"format": "%(asctime)s [%(name)s.%(levelname)s] %(message)s"
}
},
"handlers": {
"console": {
"class": "logging.StreamHandler",
"level": "INFO",
"formatter": "simple",
"stream": "ext://sys.stdout"
},
"file": {
"class": "logging.FileHandler",
"level": "DEBUG",
"formatter": "simple",
"filename": "logs/server.log"
}
},
"loggers": {
"scriptServer": {
"level": "DEBUG",
"handlers": [
"console",
"file"
],
"propagate": false
},
"execution": {
"level": "DEBUG",
"handlers": [
"console",
"file"
],
"propagate": false
}
},
"root": {
"level": "DEBUG",
"handlers": [
"console"
]
}
}

0 comments on commit dbde047

Please sign in to comment.