Bug 3007 - Frysk event log never written to disk - only displayed in GUI
Summary: Frysk event log never written to disk - only displayed in GUI
Status: VERIFIED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Phil Muldoon
URL:
Keywords:
Depends on:
Blocks: 1632
  Show dependency treegraph
 
Reported: 2006-08-07 19:15 UTC by Len DiMaggio
Modified: 2006-11-21 23:01 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Len DiMaggio 2006-08-07 19:15:43 UTC
Frysk event log never written to disk

In Frysk - as built from CVS on 20060804 - the event log (shown in the 'Frysk
Monitor' GUI as the 'Main Log') is not written to disk under
$HOME/.frysk/eventlogs/ until a publishing threashodl is hit.

The threshold looks like it's 1000 bytes - but the event log is never written.
Comment 1 Phil Muldoon 2006-08-07 20:28:58 UTC
The logs are being processed and published by Frysk UI. The output to the 
ConsoleHandler shows that. However, either the registered FileHandler for 
EventLogs is not getting the LogRecords, or is not publishing them. Will take 
assignment and investigate.
Comment 2 Phil Muldoon 2006-08-23 23:45:07 UTC
2006-08-23  Phil Muldoon  <pmuldoon@redhat.com>

        * EventLogger.java (EventLogger): Turn off parent handlers.
        Increase Level capture scope.

[pmuldoon@localhost monitor]$ cd ~/.frysk/eventlogs/
[pmuldoon@localhost eventlogs]$ cat frysk_event_log.log 

840 1156376375512 Fork Observer: PID: 30599 TID: 30599 Event: forked new child
PID: 30628 Host: localhost.localdomain
880 1156376376552 Fork Observer: PID: 30599 TID: 30599 Event: forked new child
PID: 30629 Host: localhost.localdomain
917 1156376377456 Fork Observer: PID: 30599 TID: 30599 Event: forked new child
PID: 30630 Host: localhost.localdomain
954 1156376377976 Fork Observer: PID: 30599 TID: 30599 Event: forked new child
PID: 30631 Host: localhost.localdomain
991 1156376378462 Fork Observer: PID: 30599 TID: 30599 Event: forked new child
PID: 30632 Host: localhost.localdomain
Comment 3 Len DiMaggio 2006-08-24 14:22:03 UTC
Verified as fixed in frysk built from CVS head - 20060824