Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 20 Jun 2018, 22:41
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Printers
How to delete CUPS server logs? [SOLVED]
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
Sky Aisling


Joined: 27 Jun 2009
Posts: 1200
Location: Port Townsend, WA. USA

PostPosted: Tue 16 Jan 2018, 19:53    Post subject:  How to delete CUPS server logs? [SOLVED]
Subject description: Administration - CUPS 1.7.5 - Pale Moon
 

RE: Administration - CUPS 1.7.5 - Pale Moon

Hello,
Is there a way to delete the records in the CUPS 1.7.5 server access log, error log, page log?

Thank you in advance for your suggestions.
CUPS1.png
 Description   
 Filesize   9.74 KB
 Viewed   79 Time(s)

CUPS1.png


Last edited by Sky Aisling on Tue 16 Jan 2018, 23:23; edited 1 time in total
Back to top
View user's profile Send private message 
scsijon

Joined: 23 May 2007
Posts: 1327
Location: the australian mallee

PostPosted: Tue 16 Jan 2018, 22:46    Post subject: wrong puppy queue I think, please ask ahave an admin move it  

Cups is basically a command line program set with a graphical frontend for common tasks.

Basically you will need to stop the cups server (you can only do this if you have root or full system access, chroot and the like don't often work).

If it's been setup for multiple users, it should then send messages out (which can't be stopped) to all users and the queue managers of that queue to warn them the queue is being stopped.

You then need to find the particular files (where ever they have been stored depends on the system, there is no 'standard spot').
BACKUP the three files somewhere else before you delete them!!!!
Delete the actual files
Restart cups or powerdown reboot your system
Check the cups server was restarted (it ocasionally fails if the file has dissapeared and you may have to reboot a second time or delete and recreate the queue in question)
Run a job and make sure the queue is working properly again (i've had it looking ok but not working).

It's not easy, and that is done on purpose.

further info can be found on the cups website, but make sure you are looking at the documentation for your particular cups version.

However if your problem is space, there is suppose to be a tool and setting to archive after a predetermined time or size. I haven't needed to use it so I can't help you with that
Back to top
View user's profile Send private message Visit poster's website 
8Geee


Joined: 12 May 2008
Posts: 1570
Location: N.E. USA

PostPosted: Tue 16 Jan 2018, 22:52    Post subject:  

I would snoop around /var in particular /var/logs and /var/cups


Regards
8Geee

_________________
Linux user #498913

Some people need to reimagine their thinking.
Back to top
View user's profile Send private message 
Sky Aisling


Joined: 27 Jun 2009
Posts: 1200
Location: Port Townsend, WA. USA

PostPosted: Tue 16 Jan 2018, 23:00    Post subject: How to delete CUPS server logs?
Subject description: Reasons for deletion.
 

Thank you, scsijon and 8Geee
I have an old HP printer that miss-fires a lot. The 'error' file is huge. I wanted to reduce extraneous data in my system. Also, for privacy sake, I wanted to make sure the data wasn't in a position to be hacked as I have personal records that I've printed showing in the logs.

EDIT: /var/cups/log gives me access to files via Geany. Thank you.
Yes, I'll backup the data.

Last edited by Sky Aisling on Tue 16 Jan 2018, 23:21; edited 1 time in total
Back to top
View user's profile Send private message 
8Geee


Joined: 12 May 2008
Posts: 1570
Location: N.E. USA

PostPosted: Tue 16 Jan 2018, 23:05    Post subject:  

When you find that log, keep visible in Geany or leafpad, whatever. Then you can refer to it, and clean it. I do this in Slacko5.7/Geany. Works a treat.

Regards
8Geee

_________________
Linux user #498913

Some people need to reimagine their thinking.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Printers
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0333s ][ Queries: 15 (0.0068s) ][ GZIP on ]