TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Robert J. Clay
from: Michael Dukelsky
date: 2007-04-21 12:42:48
subject: logging filter.pl ops

Hello Robert,

Friday April 20 2007, Robert J. Clay wrote to All:

 RC>     Is there a way to log the program calls that HPT does to
 RC> filter.pl? I'm working on a function in filter.pl for incoming
 RC> netmails, but it's not working & I can't even tell if it is running at
 RC> all...

You may use a usual "print" to STDOUT or to STDERR.

 RC>     Also, the "w_log(level, str);";  what is the
"level" varible for?

It is a digit or a letter from LogLevels token description (see
/hpt/doc/hpt.html). The character will be printed as the first character in the
log file line like this:

E 00:20:32  echo area ROO.ROBOTS.LOC - 1 msgs
^ the first character is the loglevel.

Michael

... dukelsky (at) aha.ru
--- GoldED+/W32 1.1.5-040120
* Origin: Moscow, Russia (2:5020/1042)
SEEN-BY: 10/1 3 11/201 14/300 400 34/999 106/1 120/228 123/500 134/10 140/1
SEEN-BY: 222/2 229/4000 236/150 237/53 249/303 261/20 38 100 1404 1406 1418
SEEN-BY: 266/1413 280/1027 320/119 393/68 633/104 260 262 267 285 712/848
SEEN-BY: 751/321 800/432 2222/700 2320/111 2800/18 2905/0
@PATH: 5020/1042 106/1 261/38 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.