Which one *.log file do you have to edit?? Is it one of the autocreated logs at pol start-up (pol.log, start.log) ?? You can choose type of informations logged into pol.log by editing pol.cfg (like watchRMP, watchSysload).
If you try to remove line from log file created by custom package you need to edit one of scripts from this package .
You have to write something more what do you want...
I'm just testing some new help systems, and I was wondering if there's a way to do with log files... the only problem is that, i didn't find a way to remove written lines.
There is no way to remove a log line. The only way I can suggest although wasteful to POL especially if its a larger log file is to ReadFile(), look at every line in a foreach and remove the lines in the array that you don't want, then AppendToFile() the array.
I use the log files to record the GM pages, but I remove them manually once a GM has confirmed it has been solved. It made me ensure all pages were dealt with and that I saw each one myself. Log files don't need a world save to see them either.
On the other hand Data Files are good and editable in scripts, but they are alphanumerically sorted when saved, and the save order needs particular attention in your scripts otherwise you might get strings where you expected numbers etc.
We don't track help pages but we do track things like createstack and attribute changes. Figured these were the most vulnerable areas for cheating. We use cfg files and like OnG delete them manually.
Hrm. Coulda swore my old help system, complete with a volunteer help system for players, is written to use data files. Will have to dig it out and look it up now.
The one I use currently makes use of data files. I just do not like the interface for it and I am not good with gumps so that is why it stays the way it is now.