Bug 2113

Summary: frysk requires ~/.frysk/logs
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Stan Cox <scox>
Status: RESOLVED FIXED    
Severity: normal CC: scox
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Project(s) to access: ssh public key:
Bug Depends on:    
Bug Blocks: 1632, 2234    

Description Andrew Cagney 2006-01-06 16:59:13 UTC
Without it it gets:

$ ./TestRunner
java.io.IOException: No such file or directory
$ mkdir -p ~/.frysk/logs
$ ./TestRunner
Running testIA32(frysk.sys.proc.TestAuxv) ...PASS

I'm wondering if there's something in the gui that creates ~/.frysk/logs as on
some machines it is there but I don't recall creating it.
Comment 1 Phil Muldoon 2006-02-07 22:01:42 UTC
This is created in the gui, for the error log. When it attempts to create the
error log, it looks first for the directory and if not found, attempts to create
the directory?

What should we be doing here, from the gui?
Comment 2 Andrew Cagney 2006-02-08 16:18:12 UTC
Sounds like that code should be factored out so that not just the GUI, but also
other code using loggers can use it as a common get log file mechanism.

(I just did this for Config.FRYSK_DIR, it turned out that Gui.java had it's own
local hard-wired equivalent)
Comment 3 Stan Cox 2006-02-27 22:18:35 UTC
* EventLogger.java (get): Create FRYSK_DIR/logs if necessary.