Commit 2245f631 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

wrsw_hal: log messages go to /dev/kmsg

parent 7985740c
...@@ -161,7 +161,7 @@ int hal_init() ...@@ -161,7 +161,7 @@ int hal_init()
{ {
char sfp_db_path[1024]; char sfp_db_path[1024];
trace_log_stderr(); //trace_log_stderr();
TRACE(TRACE_INFO,"HAL initializing..."); TRACE(TRACE_INFO,"HAL initializing...");
...@@ -301,7 +301,7 @@ void hal_parse_cmdline(int argc, char *argv[]) ...@@ -301,7 +301,7 @@ void hal_parse_cmdline(int argc, char *argv[])
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
trace_log_file("/tmp/hal_log"); trace_log_file("/dev/kmsg");
/* Prevent from running HAL twice - this will likely freeze the system */ /* Prevent from running HAL twice - this will likely freeze the system */
if(hal_check_running()) if(hal_check_running())
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment