Skip to content

Commit

Permalink
Add sample config for logging
Browse files Browse the repository at this point in the history
  • Loading branch information
devth committed May 5, 2021
1 parent 7035188 commit 254da5c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/config.sample.edn
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@
:uri "http://yetibot.core/"}]},
:endpoint "http://my-yetibot.com",
:log {:level "debug"
:path "/var/log/yetibot/yetibot.log"},
:path "/var/log/yetibot/yetibot.log"
:rolling {:enabled "true"}},
:s3 {:secret {:key ""},
:access {:key ""}},
:wordnik {:key ""},
Expand Down
2 changes: 2 additions & 0 deletions config/profiles.sample.clj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
{:dev
{:env
{:yetibot-log-level "debug"
:yetibot-log-path "/var/log/yetibot/yetibot.log"
:yetibot-log-rolling-enabled "true"

;; By default Yetibot uses the ! prefix to match commands.
;; You can use this configuration to customize the prefix used by Yetibot
Expand Down
2 changes: 2 additions & 0 deletions config/sample.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Sample env file, equivalent to config.sample.edn

YETIBOT_LOG_LEVEL="debug"
YETIBOT_LOG_PATH="/var/log/yetibot/yetibot.log"
YETIBOT_LOG_ROLLING_ENABLED="true"

# By default Yetibot uses the ! prefix to match commands.
# You can use this configuration to customize the prefix used by Yetibot
Expand Down

0 comments on commit 254da5c

Please sign in to comment.