home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
lm2_100.lzh
/
lm2.doc
< prev
Wrap
Text File
|
1994-09-11
|
5KB
|
145 lines
__/ __/ __/ __/ __/__/__/
__/ __/ __/ __/__/ __/ __/ __/
__/ __/ __/ __/ __/ __/
__/ __/ __/ __/ __/
__/__/__/__/ __/ __/ __/ __/__/__/__/
-+- -+- -+- LogManager/2 -+- -+- -+-
v 1.00
By Chris Snell
1:387/710
Deadicated Software
San Antonio, Texas
With Help From Edward Walker and Doug Palmer
o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o--o
-*- About LogManager/2
Howdy!
Welcome to the first useful thing that I have ever programmed, LogManager/2!!! This program has
been designed to keep your logfiles trimmed down and to store them in a manner that will allow
you to find them when you want to! This utility renames your logfiles into a format which
contains the current date, along with a 3-letter code that will help you identify which log is
which.
This program is designed to take your daily logfiles (from a bbs or mailer)
and rename them into a format in which they can be easily stored or located
for future use.
The format is:
MmDdYyyy.XXX
Where Mm is the two-number abbreviation for the current month,
Dd is the current day (in number format),
Yyyy is the current year,
and XXX is a three-letter code.
The three-letter code is most similar to those three-letter airport
identification codes. For my logfiles, I use:
BNK for BinkleyTerm's Log (BINKLEY.LOG)
SQH for Squish's Log (SQUISH.LOG)
ND1 for Node 1 of the Terrapin Station BBS (NODE1.LOG)
ND2 for Node 2 of the Terrapin Station BBS (NODE2.LOG)
GLD for GoldED's Log (GOLDED.LOG)
If today's date is July 1, 1994, LM/2 would rename my BINKLEY.LOG logfile to
07011994.BNK.
-*- How to use Log Manager/2
To use LogManager/2, you should:
1) Put all the files contained in this archive in their own directory. I use
D:\LM2.
2) Set up an OS/2 Batch File (.CMD) that copies the log files every night
to LogManager's directory. Here is a sample .CMD file (COPYLOGS.CMD) that
I use:
copy D:\BINK\BINKLEY.LOG D:\LM2
del D:\BINKLEY.LOG
copy D:\MAX\NODE*.LOG D:\LM2
del D:\MAX\NODE*.LOG
copy D:\SQUISH\SQUISH.LOG D:\LM2
del D:\SQUISH\SQUISH.LOG
3) Remember that the logfiles cannot be copied/deleted while in use by
another program. Be sure to have your mailer/bbs/tosser terminate
before doing log management.
4) Run LogManager/2 nightly (preferably from an OS/2 Command File)
-*- The Configuration File
LogManager/2 uses a simple configuration file to control it's management.
***-( NOTE! )-***
The configuration file MUST BE NAMED LM2.CFG !!!!
Look at and edit the sample LM2.CFG to set this up. It's pretty easy!
-*- Archiving Your Logs
For an unknown reason, I could not get REXX to read the filename of an
executable archive utility from my LM2.CFG without puking so no archiver
support is included at the present time. It is quite easy, however, to set up
a simple OS/2 Batch File (.CMD) to do this automatically. This archiving
batch file (I call mine ARCLOGS.CMD) should contain a simple command line
for and archiver and use wildcards to select the logfiles. Here is how I did
mine:
-- clip here ---
lh32 A OLDLOGS.LZH *.BNK *.ND1 *.ND2 *.GLD *.SQH
del *.bnk
del *.sqh
del *.gld
del *.nd1
del *.nd2
--- clip here ---
This would tell my archiver (lh32.exe) to add all files ending .BNK, .SQH,
.GLD, .ND1, and .ND2 to an archive file (OLDLOGS.LZH) which I keep all my old
logs in. After the archiver has added them, my batch file deletes them. Very
simple.
-*- DISCLAIMER AND DISTRIBUTION INFORMATION
LM/2 IS PROVIDED FREE OF CHARGE TO ANYONE WHO WISHES TO USE IT. YOU
***CANNOT*** DISTRIBUTE A MODIFIED VERSION OF THIS SOFTWARE WITHOUT WRITTEN
PERMISSION FROM THE AUTHOR, CHRIS SNELL. YOU ARE, HOWEVER, FREE TO MODIFY
FOR YOUR PERSONAL USAGE AS LONG ANS YOU DO NOT DISTRIBUTE IT IN MODIFIED FORM.
IF YOU DISTRIBUTE THE FULL RELEASE VERSION, PLEASE ENSURE THAT IT CONTAINS THE
DOCUMENTATION AND CONFIGURATION FILES. CHRIS SNELL ASSUMES ABSOLUTELY NO
LIABILITY FOR ANY DAMAGE INCURRED IN THE DISTRIBUTION OR THE USE OF LM/2.
YOU GET WHAT YOU PAY FOR. :-)
-*- FreeWare Notice
This program is freeware and can be used indefinitely without any payment to
the author. The only thing I ask you to do is to send me an e-mail message
and tell me what you think of LM/2. Tell me how you use it to archive
Grandma's bowling league scores, journals of your llama-breeding business, or
any other use that you can concieve. If you find bugs or just want to say
"Howdy!", just drop me a line. Here are my e-mail addresses:
Chris J. Snell
FidoNet Joey Snell @ 1:387/710
Internet Joey.Snell@lchance.sat.tx.us
Thanks for using my program! If you like it, send it (in its original archive)
to a friend! :-)