Skip to content

Commit 41b4103

Browse files
authored
Update Default Agent Logging (#321)
* Update newrelic.ini to log to stderr. * Update default logging location to stdout. * Update log_file comment in newrelic.ini.
1 parent 3703fb3 commit 41b4103

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

newrelic/newrelic.ini

+9-12
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,15 @@ app_name = Python Application
4141
# each environment below.
4242
monitor_mode = true
4343

44-
# Sets the name of a file to log agent messages to. Useful for
45-
# debugging any issues with the agent. This is not set by
46-
# default as it is not known in advance what user your web
47-
# application processes will run as and where they have
48-
# permission to write to. Whatever you set this to you must
49-
# ensure that the permissions for the containing directory and
50-
# the file itself are correct, and that the user that your web
51-
# application runs as can write to the file. If not able to
52-
# write out a log file, it is also possible to say "stderr" and
53-
# output to standard error output. This would normally result in
54-
# output appearing in your web server log.
55-
#log_file = /tmp/newrelic-python-agent.log
44+
# Sets the name of a file to log agent messages to. Whatever you
45+
# set this to, you must ensure that the permissions for the
46+
# containing directory and the file itself are correct, and
47+
# that the user that your web application runs as can write out
48+
# to the file. If not able to out a log file, it is also
49+
# possible to say "stderr" and output to standard error output.
50+
# This would normally result in output appearing in your web
51+
# server log.
52+
log_file = stdout
5653

5754
# Sets the level of detail of messages sent to the log file, if
5855
# a log file location has been provided. Possible values, in

0 commit comments

Comments
 (0)