Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #2288 (closed)

Opened 9 years ago

Closed 9 years ago

doRollover and filemode

Reported by: atarkowska Owned by: atarkowska
Priority: minor Milestone: OMERO-Beta4.2
Component: Web Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2010-04-16 (7)

Description

If TimedRotatingFileHandler? does an doRollover() it opens the new file hardcoded with mode "w" whilst the baseclass FileHandler? opens it with mode "a" if nothing else is specified in the constructor. If multiple processes write to the same file, and one does the RollOver? all other newly spawned processes write to the end of the new file but the still running first process who did the rollover will write from the beginning of the file - overwriting log entries from the other procs.

Change History (3)

comment:1 Changed 9 years ago by atarkowska

  • Sprint changed from 2010-04-30 (8) to 2010-04-16 (7)

comment:2 Changed 9 years ago by atarkowska

  • Status changed from new to assigned

comment:3 Changed 9 years ago by atarkowska

  • Remaining Time changed from 0.5 to 0
  • Resolution set to fixed
  • Status changed from assigned to closed

(In [6757]) it should fixes #2279, #2288 and some minor changes to #2247

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.75583 sec.)

We're Hiring!