-
Notifications
You must be signed in to change notification settings - Fork 515
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Shaanjot Gill <gill.shaanjots@gmail.com>
- Loading branch information
1 parent
9a6e9b7
commit 8e9b0f2
Showing
124 changed files
with
479 additions
and
1,396 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
27 changes: 27 additions & 0 deletions
27
aries_cloudagent/config/default_per_tenant_logging_config.ini
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[loggers] | ||
keys=root | ||
|
||
[handlers] | ||
keys=stream_handler, timed_file_handler | ||
|
||
[formatters] | ||
keys=formatter | ||
|
||
[logger_root] | ||
level=ERROR | ||
handlers=stream_handler, timed_file_handler | ||
|
||
[handler_stream_handler] | ||
class=StreamHandler | ||
level=DEBUG | ||
formatter=formatter | ||
args=(sys.stderr,) | ||
|
||
[handler_timed_file_handler] | ||
class=logging.handlers.TimedRotatingFileMultiProcessHandler | ||
level=DEBUG | ||
formatter=formatter | ||
args=('acapy.log', 'd', 7, 1,) | ||
|
||
[formatter_formatter] | ||
format=%(asctime)s %(wallet_id)s %(levelname)s %(pathname)s:%(lineno)d %(message)s |
23 changes: 23 additions & 0 deletions
23
aries_cloudagent/config/default_per_tenant_logging_config.yml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
version: 1 | ||
formatters: | ||
default: | ||
format: '%(asctime)s %(wallet_id)s %(levelname)s %(pathname)s:%(lineno)d %(message)s' | ||
handlers: | ||
console: | ||
class: logging.StreamHandler | ||
level: DEBUG | ||
formatter: default | ||
stream: ext://sys.stderr | ||
rotating_file: | ||
class: logging.handlers.TimedRotatingFileMultiProcessHandler | ||
level: DEBUG | ||
filename: 'acapy.log' | ||
when: 'd' | ||
interval: 7 | ||
backupCount: 1 | ||
formatter: default | ||
root: | ||
level: INFO | ||
handlers: | ||
- console | ||
- rotating_file |
This file contains 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
Oops, something went wrong.