miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How can I found the log file

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Compilation/Installation
View previous topic :: View next topic  
Author Message
A_380_2009



Joined: 22 Mar 2012
Posts: 17

PostPosted: Thu Aug 09, 2012 6:46 am    Post subject: How can I found the log file Reply with quote

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
View user's profile Send private message
A_380_2009



Joined: 22 Mar 2012
Posts: 17

PostPosted: Thu Aug 09, 2012 6:53 am    Post subject: Reply with quote

The version of miniupnpd I used was 2100308.
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Sat Aug 11, 2012 5:23 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpd Compilation/Installation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.