Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CUPS log files seem messy (while cleaning up logging)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
LIsLinuxIsSogood
Guru
Guru


Joined: 13 Feb 2016
Posts: 463

PostPosted: Fri Oct 20, 2017 10:15 am    Post subject: CUPS log files seem messy (while cleaning up logging) Reply with quote

Does anyone know what the page_log for CUPS is meant for, and if it is deprecated? The only other thing I can think of is that those messages maybe were merged into the access_log instead...any ideas?

Code:
[MYMACHINE] /var/log/cups # ls -oha
total 896K
drwxr-xr-x  2 root 4.0K Sep 20 15:39 .
drwxr-xr-x 19 root 4.0K Oct 20 02:47 ..
-rw-r--r--  1 root    0 Sep 20 15:39 .keep_net-print_cups-0
-rw-r--r--  1 root 117K Oct 20 03:02 access_log
-rw-r--r--  1 root 760K Oct 20 00:50 error_log
-rw-r--r--  1 root    0 Dec 21  2016 page_log
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 6364
Location: almost Mile High in the USA

PostPosted: Fri Oct 20, 2017 3:01 pm    Post subject: Reply with quote

Interesting. Seems the current default cupsd.conf that we get has PageLogFormat disabled so the file is still there, but no longer used. I think in the past it had been logging there.

I suppose that's what you get when one -1's (in etc-update)...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1400

PostPosted: Fri Oct 20, 2017 4:29 pm    Post subject: Reply with quote

Quote:
cupsd( 8 ) normally maintains three log files: access_log to track requests that are submitted to the scheduler, error_log to track progress and errors, and page_log to track pages that are printed. Configuration directives in cupsd.conf(5) and cups-files.conf(5) control what information is logged and where it is stored.

https://www.cups.org/doc/man-cupsd-logs.html
Back to top
View user's profile Send private message
LIsLinuxIsSogood
Guru
Guru


Joined: 13 Feb 2016
Posts: 463

PostPosted: Sat Oct 21, 2017 9:50 am    Post subject: Reply with quote

K, it works now thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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