home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
steil95p.zip
/
steillog.doc
< prev
next >
Wrap
Text File
|
1996-07-08
|
20KB
|
557 lines
Version 0.95
Steillog for MAX/2 BINK/2 XEN/2 CL/2 and SQUISH/2
This program was written in Pascal. All Rights reserved.
The Copyright holds: Michael Weinert 2:2471/2410@FIDONET.ORG
(c) 1995,1996 by Michael Weinert
Contents
--------
1.0 General
1.1 Registration
1.2 Overview
1.3 Installation
2.0 Maximus part
2.1 Macro definitions
2.2 Outputs for Max
2.3 Including the Mailer stats in Max
3.0 Mailer part
4.0 Squish part
5.0 Cost Manager
6.0 Configuration
6.1 Command line parameters
7.0 After all ......
7.1 Known Bugs and Features
8.0 Thanks to ......
9.0 Hints for contacting the author
1.0 General
------------------------------------
What the hack a docu for a Logfileprogram ????
Well, I've chosen to make the program very flexibel. You have different
kind of settings, called Macros. You can define them in the STEILLOG.CFG.
You now have the opportunity to give the output your own touch.
The way Steillog works for your part is quiet simple. It will read through
the STEILLOG.CFG which is located in the same direcory or in the directory
you defined with e.g. SET STEILLOG=E:\BBS\LOG\STEIL.
If an error occurs STEILLOG ends with an errorlevel. If erverything's allright
STEILLOG begins reading the logfiles. While reading it Steillog searches for
all kind of macros which are shown in the output afterwards.
There's absolutly no sorting done at all, because the Log-Files are already
sorted for lines, date and time.
Well, now comes the tuff part. The Mailerpart was a hell of lotta work for
me. STEILLOGs main work is to present the sysop's logfile in a nice and
simple style. Who does really want to read those chaotic logfiles ? ;)
I don't guarantee functionality on other PC's with MAX/2 BINK/2 XEN/2 CL/2 or
SQUISH/2. It could be possible that the program does not function right if
the keyword Logging Mode in MAX.CTL is not TRACE ! And make sure your Log-
Part in the *.MAD is still in the original version, or Steillog won't work
at all !
I will guarantee, that my program will use disk space on your
hard disk. In no circumstances I will be liable for any damage of your hard-
or software which this program may cause.
BTW: No batteries included !
Maximus & Squish are registered trademarks of Lanius Corporation.
1.1 Registration
----------------
This peace of soft is shareware. Ya know what this means, right ?
No ? Test this soft for 30 days:
if soft=good then pay else kill....
See the hints in REGISTER.DOC (this one is german right now, didn't find
time to translate)
BTW: If you like that song too much you can have it for free. Just request HALL ;-)
Theres a little limit for the Max and the Mailerpart. The most actions you
can log in ONE Session is 8000 for MAX and 5000 Connects for the Mailer. I think
this is enough for you. If you really really need more, just write a little
mail to me.
1.2 Overview
-------------------------------
a) Reads the MaximusLogFiles and writes an output with
the actions you can define with macros
b) Reads the MailerLogs /Cantaloup, BjnkleyTerm, Xenia) an
writes out all connects with time/date in/out.
c) Starts the CostMan, adds user in/outs and checks if the
date matches with the one in the CFG. If this is true
STEILLOG writes an statistic about the costs. In this
case ist end with the specific errorlevel 50 !
d) Reads the SQUISH.STT, creates an output. It will be
sorted by groups.
e) Writes the outputs in a SQUISH base if you want it to
f) Reads the USER.BBS of Max and writes a statistic.
Ready to include in Max !
g) Writes the ECHOTOSS.LOG for Squish.
h) If the parameter OVERVIEW (-v) is set just an overview
is created.
1.3 Installation
-------------------------------
Steillog comes now with multiple language support. If you want to use the
english Version, just rename the ENGLISH.DLL to STLANG.DLL and you're ready
to go. Well almost, cause you have to adjust the STEILLOG.CFG to your needs
and system.
2.0 Maximus part
-------------------------------
The Max-part almost didn't change from the Ver. 0.6x on. Only a couple
of bugfixes are included. If you use the american/english Version of
the LanguageFile (Max) you should have no problem running Steillog.
Still there 2 hardcoded Macros which you can enable.
First one is the Passwordcheck. If a user enters a wrong password you
will see it in the output.
Same with the Mailcheck, which is another hardcoded Macro.
In the first column you will see the area in which to user entered a
mail, and in the last column you will see to whom he wrote.
2.1 Macro definitions for Maximus
--------------------------------
You can now setup your macros like this:
Forget running through megs of logs. With Steillog you got an easy way finding
out what happened on your BBS.
Call your doors through a meccafile, and write the following in it:
[log]* word
In Steillog.cfg it will be setup like this:
;
Macro word did_whatever_! Uhrzeit
; ^ ^ ^ ^ beware max. 14 Chrs !!
Steillog will check if you wrote the word right. Beware ! "WORD" is not
the same as "word" !!!
"Macro" defines a Macro ;-). The second word defines for what to search for.
The 3rd word (watch out for underscores) will be the output, e.g. what the user
did.
If you wish to have other predifened functions, feel free to contact me.
I think that should be enough to get the program working.
If you got all this done, you're a couple of seconds away from the first
run.... Uhhhh here we go. Make sure that your LOGS are NOT in USE !!!! Or
SteilLog can't read them.
2.2 The Outputs of the MailerStats and the UserStats
----------------------------------------------------
There is a little feature of Steillog ;-) You can include the Mailer-
Stats in MAX/2 with no recompile. You can even define how it should
look like, with defining the colors.
Another one is to enable the UserStats. Steillog will read the USER.BBS
of MAX and writes a BBS-File (ready to include in MAX) with an Overview.
Guess you almost don't need any more tools.
2.3 Including the Mailer stats in Max
--------------------------------------
At first the switch MaxMailStat has to be enabled. Adjust the path to
the file. Every time you run Steillog, an new MaxMailStat will be created.
For this reason, let Steillog only run once in the night (only in the
OverViewMode nothing will be written)
Back to Max and the MailerStats. Here is a sample entry in MENUS.CTL :
Display_File main2\maxstat Demoted "MailerStats"
You don't need to recompile with MECCA. The colors are defined in the
STEILLOG.CFG. Also there is an ENTER after all is displayed.
3.0 Mailer part
--------------------------------------
I spended the most time on the MailerPart. I had to take care of 3 different
types of Mailers (Binkley, Cantaloup and Xenia). Every Mailer has each
features which I wanted to use.
You also have to switch the MailerPart on, if you want to use it. You can
see everything in the output what happened. For example a call out will
have a * and a password error a ! in front of the AKA. You also have the
choice to switch the call outs off. So you wont see who you called.
There are a couple of more settings which are pretty tuff to explain.
Just go through the sample CFG below.
4.0 Squish part
--------------------------------------
This part was done pretty quick. I only added a couple of new features
recently. Steillog reads the SQUISH.STT in and writes out the messages
tossed in each area. You can define groups for the output. So your own
nets have an own group. You also see a total of all tossed messages and
a total of a group.
5.0 Cost manager
--------------------------------------
A lotta work had to be done to bring the Costman there where it's today.
It was important for my BBS to make a costsharing depending on the downloads.
With Costman I can say my Meg. costs 20 Cents, and Steillog will print out
either a monthly or a weekly Costs. Where is the border ? You can define
a Round by 500KB. That means everything >500KB will be a Meg.
6.0 Sample CFG of Steillog with Desc.
-------------------------------------
I will not write any more descriptions in the sample, cause I'm sick and
tired of gett'n questions about the same old stuff which is already written
in the DOC. Yes I'm kinda lazy too ;-)
Also you are enforced to read the Doc at least once.
Ok, let's have a look at a Sample-CFG-File: (I know theres a lotta German in
there ;-) As usual comments start with a ;
Gee, so many keywords are making me dizzy :)
; ========================= CUT HERE =======================================
; SysName = the name of your BBS... It doesn't matter how long this name is,
; as long as you put the underscores between them.
; Surely I putted a little bit of work in here too. If ya've seen one of
; my first CFG you can tell.
; **************************************************************************
; * Steillog Sample configurations file for Version 0.95 *
; **************************************************************************
; Your BBS-Name. I don't think you need any comments here. If yes,
; shut down your BBS ;-)
SysName Steils_Böxle
; Now comes the tuff part, your name:
SysOp Michael_Weinert
; Your key if you pay you get one free.
RegKey KeyKeyKeyKeyKeyKey
; Where should Steillog write the Echotoss.log ?
ECHOTOSS E:\BBS\SQUISH\ECHOTOSS.LOG
; **************************************************************************
; * M A X I M U S P A R T *
; **************************************************************************
; Enable the MAX-Part of SteilLog
; if this is commented out, then Steillog will ignore all MAX-specific
; keywords.
Enable MaximusLog
; Enable or Disable Mailcheck or Passwordcheck
; in another words, these are hardcoded checks for Max, because they won't
; fit in the macros, and besides this way its faster.
; This one will write out to whom the user wrote and in which area.
Enable Mail
; This one will write out when the user entered a wrong password, and
; what the wrong psw was.
Enable Password
; The name & path of the outputfile ?
; DATUM means that Steillog will write the filename with the first date found
; in the LOG. For the mailer it's like 13SEP.BTL and for MAX it's 13SEP.MAX ok ?
; Just don't forget that SteilLog needs a blank between path and DATUM.
MaxLogOut F:\LOG\TEMP.LOG ; Instead of TEMP.LOG you can user DATUM
; Definition of the Max-Log-Files
MaxLogFile E:\BBS\MAX\task1.LOG ; MAX Line 1
MaxLogFile E:\BBS\MAX\task2.LOG ; MAX Line 2
MaxLogFile E:\BBS\MAX\task3.LOG ; MAX Line 3
MaxLogFile E:\BBS\MAX\task4.LOG ; MAX Line 4
MaxLogFile E:\BBS\MAX\task5.LOG ; MAX Line 5
;How many Macros ?
Anzahl 5
; Macros: the underscores are very important
; Keyword: search for: Output: 2. Predifined Macro:
Macro Given Got Zeit
Macro dropped Carrier_drop Uhrzeit
Macro Sysop called_SysOp Uhrzeit
Macro DL-Z Download Datei
Macro UL-Z Upload Datei
; Here comes a little dictionary:
; ZEIT = Gets minutes online
; UHRZEIT = actual time 16:45
; DATEI = FILE down/uploaded
; See hints in DOC above for more informations about Macros.
; And finally: do you want that Steillog kills your LogFiles ?
; (YES after they are read ;-)))
Enable MaxLogKill
; If the next keyword and Maximuslog are enabled STEILLOG will write
; a notify in a SquishbaseEcho or Netmail...
Enable MaxNotify
; From whom ? AKA
MaxFrom Steillog 2:2471/2410
; To whom AKA
MaxTo Michael Weinert 2:2471/2410
; What's this about ?
MaxSubject MaxUserStats from Steillog
; Watch out that this exists. Path and name of the Area WITHOUT .SQD !!!!!!!!
; Behind this write the tag of this area. This will be written to ECHOTOSS.LOG
MaxArea G:\MSGBASE\FIDO\NETMAIL NETMAIL
; **************************************************************************
; * M A I L E R P A R T *
; **************************************************************************
; Enable the BINK/XEN/CL-Part of SteilLog
; Surely means the same as the Maximuslog. But this is for your Mailer.
Enable MailerLog
; MailerLogOut; same as MaxLogOut but for the mailer.
MailerLogOut E:\BBS\LOG\MAILER.LOG ; same as MaxLogOut just for the mailer....
; Which LogFiles of Mailer should be read ?
MailerLogFile E:\BBS\BINK\LOG\BT01.LOG ; Binkley Line 1
MailerLogFile E:\BBS\BINK\LOG\XN02.LOG ; Line 2 is the XENIA-Mailer
MailerLogFile E:\BBS\BINK\LOG\CL03.LOG ; Line 3 is the Cantaloup-Mailer
MailerLogFile E:\BBS\BINK\LOG\BT04.LOG ; Binkley Line 4
MailerLogFile E:\BBS\BINK\LOG\BT05.LOG ; Binkley Line 5
; If this switch is ON the first row of the output will be the
; date. But therefore 'Net' will be missing.
Enable MailerDatum
; If your want an output for each MailerLine enable this keyword,
; and see what happens. Be sure if you don't use DATUM for the output,
; that the name of the output is like this: MAILER.OU
; ^^ For Lines 1-9
; Steillog writes then MAILER.OU1 MAILER.OU2 and so on.
Enable SingleOut
; This one is for SingleOut. If you want both, an overview of ALL lines and
; each line, enable this keyword.
Enable ViewAll
; Well if ya don't like the nice sorting in Zones this ones for you.
; Date and Time Sorting
Enable D&T-Sort
; This one is a special one. Unlike my personal favour I don't like
; this switch very much. Ok it will show the MailerLine in the connect.
; Sample speed was 14400 BPS and line 3 => 14403 Got the point ?
Enable ShowLines
; If this switch is ON your Callouts will be logged too.
Enable CallOut
; Want to see incoming FAXes ?
Enable FAX
; The same as above....
Enable MailerNotify
MailerFrom Steillog 2:2471/2410
MailerTo Alle 2:2471/2410
MailerSubject MailerStatistiken von Steillog
; Behind this write the tag of this area. This will be written to ECHOTOSS.LOG
MailerArea G:\MSGBASE\STEIL\TEST NEWS.STATISTICS
; And the same now for the MailerLogs.
Enable MailerLogKill
; **************************************************************************
; * C O S T M A N A G E R *
; **************************************************************************
; Switch that Costman on, so I get some money.
Enable CostMan
; Hihihi, >500KB means 1MB
Enable Round
; Here comes the day of month or day of week, when the output should
; be started
; CostOutput 1 ; First day of each month
CostOutput Sunday ; Every Sunday
; Only nodes which caused cost will be logged.
CostOnly
; Need hints ?
CostLogOut F:\BBS\LOGS\COSTMAN.TXT
; Costs in Cents per Meg
Price 15
; Again a notify.
Enable CostNotify
CostFrom Steillog CostMan 2:2471/2410
CostTo Michael Weinert 2:2471/2410
CostSubject Weekly CostStats from Steillog
CostArea G:\MSGBASE\FIDO\NETMAIL NEWS.COSTS
; DO not forget the Echotoss ^^^^^^^^^^ Tag !
; **************************************************************************
; * S Q U I S H P A R T *
; **************************************************************************
; This keyword forces Steillog to read the SQUISH.STT-File.
Enable SQUISH
; But it needs to know where it is, and how it's called.
STTIN E:\BBS\LOG\SQUISH.STT
; Output in ...
STTOUT F:\VP\STEIL\REP\SQUISH.STS
; Groupdefinitions:
; You can define up to 20 groups with 10 includes and 10 excludes.
; An include * shows all echos, but still have excludes...
EchoGroup Fidonet Germany
Include *.GER
Include *.2471
Include *.STGT
Include BW.*
Exclude OS2NET.*
EndGroup
; Steillog searches for matches at the start and the end of the echoname.
; If ya got an netmailarea called OS2NET remove the point.
EchoGroup OS/2-Netz Germany
Include OS2NET.*
EndGroup
; and so on ...
; I guess ya already know what this is, right ?
Enable SquishNotify
SquishFrom Steillog 2:2471/2410
SquishTo All 2:2471/2410
SquishSubject EchoStats for Steils Böxle Stuttgart
SquishArea G:\MSGBASE\STEIL\TEST ECHO.STATISTICS
; DO not forget the Echotoss ^^^^^^^^^^ Tag !
; **************************************************************************
; * S T A T S F O R M A X I M U S *
; **************************************************************************
; A little MailerStat for MAX/2
Enable MaxMailStat
MaxStatFile F:\VP\STEIL\REP\MAXSTAT.BBS
; Colordefinition (see MAX-DOC)
COLOR FRAME YELLOW
COLOR TEXT WHITE
COLOR DATE LGREEN
COLOR TIME LRED
COLOR SPEED RED
COLOR NET WHITE
COLOR SYSOP GREEN
COLOR BYTEIN CYAN
COLOR BYTEOUT CYAN
; Switch on the UserStats. You get an overview of your Users.
Enable MaxUserStats
; Where is that USER.BBS from MAX, and how it's called.
MaxUsers E:\BBS\MAX\USER\USER.BBS
; This is finally the output, and the last keyword ;-)
MaxUserOut E:\BBS\MAX\STATS\USTAT.BBS
; ========================= CUT HERE =======================================
6.1 Commandline switches
------------------------
┌────────────────────────────────────────────────────────────────────────────┐
│ SteilLog/2 0.95 LogFileAnalyzer for CL/2 MAX/2 BINK/2 XEN/2 SQUISH/2 │
│ (c) 1995,1996 by Michael Weinert. │
└────────────────────────────────────────────────────────────────────────────┘
Available Switches:
-H = this Help
-M = do not write mails !
-V = Output on screen (OverViewmode)
7.0 After all....
------------------
After all a couple of words from me even no one will read it. Steillog at
first was programmed in REXX. This is about a year ago. Many hard and tuff
times of debugging code had to be done to let you see this Steillog !
Many many features had to be implemented. A couple of guys always told me,
hey Mike how about an overview what happened till now ?
And just what 'bout them DOS-Users ? Sorry guys, in my head DOS is dead.
I'm tired of playing 'round with 64K pointers. I need more for Steillog.
It ain't simple, but I gave up. If you got the final idea, you can write
me a hint....
7.1 Known Bugs / Features
----------------------------
Right now I only know 2 of em. 1) If you start in OverViewmode and Steillog
can't find a MailerLogfile, it will stop with a runtime-error. The other
one is the output of errors in the Overview. I'm still working on it, but
it will probably fixed with the next version. This btw: will get the
OverView-Mode on PM !
8.0 Thanx to...
----------------
Well guess that's it, but still I want to thank my first Betatester (uuhhh,
she's female ;-) Claudi. Thanx a lot for annouying ya in the middle of the
night.
2 special thanx to Peter Meerwald and Thomas Waldmann.
More thanks to :
Jörg Berg
Oliver Kopp
Ronald Hagenbusch
And now have fun with Steillog/2
9.0 How to contact the author:
------------------------------
Bugs ? Use the file BUGREP.TXT !
Hints, Comments ? I will appreciate it ;-)
If you wish to be informed 'bout new Bugfixes, News and new Features,
just write me a mail, so I can throw ya in my bombing run list.
Michael Weinert FIDO: 2:2471/2410
OS/2NET: 81:449/7100
TWI-NET: 180:180/0
Snailmailadress:
Michael Weinert
Schlierseestr. 62
70378 Stuttgart
FR of Germany
<eod>