Writelog/cflog's file is not unique per web context

Description

When using the same filename in cflog but in different web contexts, the log output is written to the last used logfile, which could be in another web context.

The problem is that in Log.java, the log files are cached in FileLogPool with the filename as key. it should use the complete path to the file.

Environment

None

Activity

Jonathan van Zuijlekom 
11 April 2016 at 06:53
(edited)

I've submitted a merge requests to fix this issue: https://github.com/lucee/Lucee4/pull/48/ & https://github.com/lucee/Lucee/pull/19

Fixed

Details

Assignee

Reporter

Priority

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 7 April 2016 at 12:56
Updated 22 April 2016 at 15:51
Resolved 22 April 2016 at 15:39