The daemon now runs on top of our kernel, so it should now write to
the real syslog. Also, find_directory() now makes sure that the path to the syslog actually exists. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10797 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
8118b7593e
commit
9f8a0739b6
|
@ -57,10 +57,9 @@ prepare_output()
|
|||
if (sLog >= 0)
|
||||
close(sLog);
|
||||
|
||||
// get path
|
||||
// get path (and create it if necessary)
|
||||
BPath base;
|
||||
find_directory(/*B_COMMON_LOG_DIRECTORY*/B_COMMON_TEMP_DIRECTORY, &base);
|
||||
// ToDo: change to correct "which" parameter!
|
||||
find_directory(B_COMMON_LOG_DIRECTORY, &base, true);
|
||||
|
||||
BPath syslog(base);
|
||||
syslog.Append("syslog");
|
||||
|
|
Loading…
Reference in New Issue