Bug 2113 - frysk requires ~/.frysk/logs
Summary: frysk requires ~/.frysk/logs
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Stan Cox
URL:
Keywords:
Depends on:
Blocks: 1632 2234
  Show dependency treegraph
 
Reported: 2006-01-06 16:59 UTC by Andrew Cagney
Modified: 2006-02-27 22:18 UTC (History)
1 user (show)

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 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.