[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Log questions from css
not sure about the strange U thing.
apiszcz@mitre.org writes:
> [1] Is there a way to get a current time stamp in the
> log file output? (per event?)
do you mean wall clock time? you could make a script stat that sets
vals[0].val = gettimesec(); read about how to do script stats in the
manual.
> [2] How many PDP users do you estimate are active with 2.0?
no idea! we've had 566 different users access pdp++ ftp on
grey.colorado.edu since 2.0 was released, so that is some kind of
estimate. there are roughly 100 people on the email list.
> [3] I'm trying to set the log save file from a .css script.
> However when I run the script 'scorce st2.css'
> a dialog box appears. I would prefer no user input, just
> set it myself.
> .projects[0].logs[1].SetSaveFile("/export/home/apiszcz/pdpw/logfs.log");
> .projects[0].logs[1].BufferToFile();
if you do 'type PDPLog' in the css prompt, you'll see:
void SetSaveFile(const char* nm= ((void *)0) , bool no_dlg= false);
so just pass a 2nd arg of 'true' to avoid the dialog.
- Randy