jdiazbb / rfxcmd

Automatically exported from code.google.com/p/rfxcmd
1 stars 0 forks source link

Unable to set logfile path and name #41

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Config file in non-standard location, location passed rfxcmd with -o option.
2. log file set in config to a non-standard location (absolute path)

What is the expected output? What do you see instead?
The log is not written to configured file, instead log is written to logfile in 
current directory.

What version of the product are you using? On what operating system?
v0.3 (696) from trunk on Linux

Please provide any additional information below.
The problem seems to be that logger_init function only tries to read config 
file from current directory and does not honour the -o or --config command line 
arguments.

Original issue reported on code.google.com by kphol...@gmail.com on 13 Sep 2014 at 10:35

GoogleCodeExporter commented 8 years ago
Hi, Thanks for the issue report, I will take a look at this.

Original comment by sebastia...@gmail.com on 14 Sep 2014 at 10:39

GoogleCodeExporter commented 8 years ago
This is now fixed and is updated to the SVN. You are correct the logger_init 
did not use the user defined config file, and there where some issues as well 
if the "DEBUG" was set from the command line. These are now corrected.

Original comment by sebastia...@gmail.com on 27 Nov 2014 at 7:06