Project

General

Profile

Actions

Bug #278

open

WLogger isn't thread safe

Added by Anonymous over 14 years ago. Updated about 14 years ago.

Status:
Feedback
Priority:
Low
Assignee:
Target version:
-
Start date:
01/22/2010
Due date:
% Done:

0%

Estimated time:

Description

When logging from another thread it mixes the buffer with other logs.

This makes it very hard to debug or just show logs.

Actions #1

Updated by Wim Dumon about 14 years ago

  • Status changed from New to Feedback
  • Priority changed from Immediate to Low

To avoid this:

  1. start your wt application with ---num-threads=1. This is usually acceptable during debugging.
  2. reroute access logs to a file with ---access-log=somefile.log
  3. reroute the application log to a file (see wtconfig.xml)

we could do something about access log messages running into each other, if required. This is however not trivial in all cases (multi-process deployments). I propose to implement this when this turns out to be problematic.

Actions

Also available in: Atom PDF