Skip to content

Commit

Permalink
Use new style options in readme examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kislyuk committed Nov 14, 2021
1 parent f39aeda commit d89f7cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ This is an example of Watchtower integration with Django. In your Django project
'level': 'DEBUG',
'class': 'watchtower.CloudWatchLogHandler',
'boto3_client': boto3_client,
'log_group': 'MyLogGroupName',
'stream_name': 'MyStreamName',
'log_group_name': 'MyLogGroupName',
'log_stream_name': 'MyStreamName',
'formatter': 'aws',
},
},
Expand Down Expand Up @@ -183,8 +183,8 @@ configuration provided by ``boto3``:
class: watchtower.CloudWatchLogHandler
formatter: json
level: DEBUG
log_group: watchtower
stream_name: "{logger_name}-{strftime:%y-%m-%d}"
log_group_name: watchtower
log_stream_name: "{logger_name}-{strftime:%y-%m-%d}"
send_interval: 10
create_log_group: False
root:
Expand Down

0 comments on commit d89f7cd

Please sign in to comment.