HP3000-L Archives

October 2016, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Francois Desrochers <[log in to unmask]>
Reply To:
Francois Desrochers <[log in to unmask]>
Date:
Thu, 13 Oct 2016 15:37:35 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (54 lines)
James,

I did this a long time ago. From memory (others will correct me if incorrect):

- do a SHOWLOGSTATUS to get the logid. The logid is likely set to AUTO (switch automatically to a new file when a certain size is reached).
- stop logging with the LOG logid;STOP
- Backup all the logfiles you have already then purge them from disc
- use the ALTLOG command to change the name of the logfile name to use e.g. HLHAM001
- start logging with LOG logid;START

The logging should be synchronized with database backups. We used to do the following at backup time:
- CHANGELOG (force switching to the next logfile in the sequence)
- LOG ;STOP
- Backup the database and associated logfiles
- LOG ;RESTART

Again, this is from memory. The command options and sequence may be a bit different but should be close I think.

Hope this helps a little.

François

-----Original Message-----
From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On Behalf Of James B. Byrne
Sent: October-13-16 10:30 AM
To: [log in to unmask]
Subject: [HP3000-L] Managing Image Logfiles

Now that the 918 has my attention and I am dusting off my old skill-set anyway I am doing a little housekeeping. One of the items I have encountered involves Image logging, which is something I never knew very much about to begin with.

We have a bunch of old Image log files having the form HLHAM999 where
999 appears to be a serial number.  Unfortunately we seem to have used up all the numbers (001-999) and the logging process seems stuck on using a single file (HLHAM899).  So my question is does the logging process automatically rollover and reuse old log files or do I have to purge these things myself? I am guessing the latter but I would like to know for sure.

Supplemental questions: If I must perform a manual purge then how to I handle the logging process?  Do I stop it and purge everything?  How to I set the serial number for the logger when I restart it?  In fact how do I turn the logger off and on if that proves necessary?

Sorry to publicly wallow in my ignorance here but I truly cannot remember how I set this up to begin with and I cannot afford the time to go research everything from scratch.


-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail  Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:[log in to unmask]
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2