newrelic / newrelic-java-agent

The New Relic Java agent
Apache License 2.0
202 stars 143 forks source link

The daily log file rolling logic assumes a path separator of "/" which fails on Window's hosts #1884

Closed jtduffy closed 5 months ago

jtduffy commented 5 months ago

Description

ClearExpiredLogRunnable::extractFilenamePrefix assumes all paths with use / as the path separator, which fails on Window's hosts. It should use Java's File.separator constant instead.

workato-integration[bot] commented 5 months ago

https://new-relic.atlassian.net/browse/NR-266021