View previous topic :: View next topic |
Author |
Message |
A_380_2009
Joined: 22 Mar 2012 Posts: 17
|
Posted: Thu Aug 09, 2012 6:46 am Post subject: How can I found the log file |
|
|
Hello:
In your program I saw the style of log was "syslog()".
If I implement:
Code: | miniupnpd -f /etc/miniupnpd/miniupnpd.conf -d |
The miniupnpd was success and I can see the log in the adb.
If I implement:
Code: | miniupnpd -f /etc/miniupnpd/miniupnpd.conf -i $wan_if -a $gw/16 |
The miniupnpd was success too but I cant see the log in the adb.
I want to know that why I cannot see the log ?
BTW,would you please tell me that where you put the log file ?I cannot find it .Thanks. |
|
Back to top |
|
|
A_380_2009
Joined: 22 Mar 2012 Posts: 17
|
Posted: Thu Aug 09, 2012 6:53 am Post subject: |
|
|
The version of miniupnpd I used was 2100308. |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1592
|
Posted: Sat Aug 11, 2012 5:23 am Post subject: |
|
|
miniupnpd doesnt put the log file anywhere !
It is the point in using syslog() : you should configure syslog in order to put logs where you want !
The "facility" used by default by miniupnpd is LOG_DAEMON.
by using -d command line flag, miniupnpd also output logs to the console, but that is only for debugging purpose _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
|