XFileSharing Pro - Error Logs Help

Powerfull XFileSharing version

Moderator: admin

Message
Author
RockDiz
Posts: 135
Joined: May 05, 2011 4:47 pm
Contact:

Error Logs Help

#1 Postby RockDiz » Dec 01, 2012 5:47 am

Hello,

I receive huge amounts of error reports similar to this:

Code: Select all

2012-12-01 06:11:27.767 [INFO] [XX.XXX.XX.XXX:51946-0#APVH_domain.com] File not found [/home/user/public_html/:80/d/xkledpbofp4r2ge4dxcvevblcw5vfw5aawarxq4hgzaicoqxnsbfjhqh/audio.mp3]
2012-12-01 06:11:29.597 [INFO] [XX.XXX.XX.XXX:49999-0#APVH_domain.com] File not found [/home/user/public_html/audio13/fs40.xml]
2012-12-01 06:11:35.276 [INFO] [XX.XXX.XX.XXX:51960-0#APVH_domain.com] File not found [/home/user/public_html/:80/d/xkledpbofp4r2ge4dxcvevblcw5vfw5aawarxq4hgzaicoqxnsbfjhqh/audio.mp3]
2012-12-01 06:11:36.294 [INFO] [XX.XXX.XX.XXX:51962-0#APVH_domain.com] File not found [/home/user/public_html/:80/d/xkledpbofp4r2ge4dxcvevblcw5vfw5aawarxq4hgzaicoqxnsbfjhqh/audio.mp3]
2012-12-01 06:11:59.162 [INFO] [XX.XXX.XX.XXX:51088-0#APVH_domain.com] File not found [/home/user/public_html/:80/d/xkledpbofp4r2ge4dxcvevblcw5vfw5aawarxq4hgzapnshk2or2pmx4/audio.mp3]
2012-12-01 06:11:59.568 [INFO] [XX.XXX.XX.XXX:38640-0#APVH_domain.com] File not found [/home/user/public_html/btn2.gif]
2012-12-01 06:12:00.731 [INFO] [XX.XXX.XX.XXX:54713-1#APVH_domain.com] File not found [/home/user/public_html/:80/d/xkledpbofp4r2ge4dxcvevblcw5vfw5aawarxq4hgzapuclbkdo6fp3y/audio.mp3]



All the errors are very similar and build up very quickly. Within a few days my error log is like 70mb. I'm sure that errors like this:

Code: Select all

/home/user/public_html/:80/d/xkledpbofp4r2ge4dxcvevblcw5vfw5aawarxq4hgzapuclbkdo6fp3y/audio.mp3


Have something to do with a file that has been deleted and a user has requested it. Is there anyway to minimize these kinds of reports?

Thanks!

trinsic
Posts: 149
Joined: Dec 21, 2009 9:24 am

#2 Postby trinsic » Dec 01, 2012 11:20 pm

Nginx?

In http block add: log_not_found off;

RockDiz
Posts: 135
Joined: May 05, 2011 4:47 pm
Contact:

#3 Postby RockDiz » Dec 04, 2012 8:34 am

trinsic wrote:Nginx?

In http block add: log_not_found off;


where do I add this? in nginx.conf?

trinsic
Posts: 149
Joined: Dec 21, 2009 9:24 am

#4 Postby trinsic » Dec 04, 2012 8:46 am

Yes the nginx.conf file. Look for the http block, I've posted a snippet of mine below:

Code: Select all

http {
    include       /usr/local/etc/nginx/mime.types;
    default_type  application/octet-stream;

   access_log   /var/log/nginx/access.log;
   log_not_found off;

RockDiz
Posts: 135
Joined: May 05, 2011 4:47 pm
Contact:

#5 Postby RockDiz » Dec 04, 2012 5:59 pm

trinsic wrote:Yes the nginx.conf file. Look for the http block, I've posted a snippet of mine below:

Code: Select all

http {
    include       /usr/local/etc/nginx/mime.types;
    default_type  application/octet-stream;

   access_log   /var/log/nginx/access.log;
   log_not_found off;


Thanks a lot for the help ^_^

RockDiz
Posts: 135
Joined: May 05, 2011 4:47 pm
Contact:

#6 Postby RockDiz » Dec 05, 2012 6:02 am

trinsic wrote:Yes the nginx.conf file. Look for the http block, I've posted a snippet of mine below:

Code: Select all

http {
    include       /usr/local/etc/nginx/mime.types;
    default_type  application/octet-stream;

   access_log   /var/log/nginx/access.log;
   log_not_found off;



Actually, I'm still getting the errors. Would I need to change somethin in the Main Web Server instead of nginx.conf in the File Server?

ankurs
Posts: 1054
Joined: Mar 10, 2009 2:34 am

#7 Postby ankurs » Dec 05, 2012 6:23 am

RockDiz wrote:Actually, I'm still getting the errors. Would I need to change somethin in the Main Web Server instead of nginx.conf in the File Server?

restart nginx for new settings to have any effect

trinsic
Posts: 149
Joined: Dec 21, 2009 9:24 am

#8 Postby trinsic » Dec 05, 2012 6:53 am

service nginx reload

Will reload the config file.


Return to “XFileSharing Pro”

Who is online

Users browsing this forum: No registered users and 0 guests