Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Steve Gordon <sgordon@hotmail.co.uk>
  • Loading branch information
Mpdreamz and stevejgordon authored Jun 4, 2024
1 parent 71afd16 commit fc63730
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/troubleshooting.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ If you don't see anything suspicious in the agent logs (no warning or error), it
[[collect-logs-globally]]
==== Enable global file logging.

To easiest way to get debug information from the Agent, regardless of the way its run, is to enable global file logging.
The easiest way to get debug information from the Agent, regardless of the way it's run, is to enable global file logging.

Specifying atleast one of the following environment variables will ensure the agent logs to a file
Specifying at least one of the following environment variables will ensure the agent logs to a file

`ELASTIC_OTEL_FILE_LOG_LEVEL` _(optional)_::

Expand Down
2 changes: 1 addition & 1 deletion src/Elastic.Apm/AgentComponents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ private static IConfigurationReader CreateConfiguration(IApmLogger logger, IConf
}

/// <summary>
/// This ensures agents will log respect externally provided loggers.
/// This ensures agents will respect externally provided loggers.
/// <para>If the agent is started as part of profiling it should adhere to profiling configuration</para>
/// <para>If file logging environment variables are set we should always log to that location</para>
/// </summary>
Expand Down

0 comments on commit fc63730

Please sign in to comment.