-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for specifying additional log outputs
This will add another configuration block where users can specify a list of additional log4r outputters to enable
- Loading branch information
Showing
8 changed files
with
222 additions
and
2 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -110,3 +110,31 @@ forge: | |
# The 'baseurl' setting indicates where Forge modules should be installed | ||
# from. This defaults to 'https://forgeapi.puppetlabs.com' | ||
#baseurl: 'https://forgemirror.example.com' | ||
|
||
# Configuration options on how R10k should log its actions | ||
logging: | ||
# The 'level' setting sets the default log level to run R10k actions at. | ||
# This value will be overridden by any value set through the command line. | ||
#level: warn | ||
|
||
# Specify additional log outputs here, any log4r outputter can be used. | ||
# If no log level is specified then the output will use the global level. | ||
#outputs: | ||
# - type: file | ||
# level: debug | ||
# parameters: | ||
# filename: /var/log/r10k.log | ||
# trunc: true | ||
# - type: syslog | ||
# - type: email | ||
# only_at: [fatal] | ||
# parameters: | ||
# from: [email protected] | ||
# to: [email protected] | ||
# server: smtp.example.com | ||
# subject: Fatal R10k error occurred | ||
|
||
# The 'disable_default_stderr' setting specifies if the default output on | ||
# stderr should be active or not, in case R10k is to be run entirely | ||
# through scripts or cronjobs where console output is unwelcome. | ||
#disable_default_stderr: false |
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,12 @@ | ||
--- | ||
logging: | ||
level: FATAL | ||
|
||
outputs: | ||
- type: file | ||
parameters: | ||
filename: r10k.log | ||
|
||
- type: syslog | ||
|
||
disable_default_stderr: true |
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