Pichlmair
13th August 2002, 11:46
Baan-Errormessages are written into the different log-files in $BSE/log. I'm looking for a possibility to setup special baan-user writing no messages in the log-files in $BSE/log. Or to setup a own logfile for a user and to have no messages in the standard-logfiles.

Francesco
13th August 2002, 17:35
The idea of the log files is to record ALL activity. It is obviously not correct for one user to go about in stealth mode.

Probably for that very reason there is no way in Baan that you can stop or redirect logging on a user level. Of course you could write an external utility that would bend the log files a little, but this kind of creativity normally doesn't go down well with QC or auditing officials.

Another thing you shouldn't be trying is putting the user in a group that has no write permissions in $BSE/log (I have actually no clue how Baan handles that, I have never tried it myself).

Millet
13th August 2002, 19:16
If you would like to have your log on specific logfile use that

-- -keeplog -logfile <name of your file>

in the command line (BW) or ba6.1 -- -keeplog -logfile <name of your file>

Logfile save in tmp directory under NT and user directory if you don't specified the path under Unix

OmeLuuk
19th August 2002, 15:20
I think you opt more for
-- -nolog
-nolog : stdout and stderr will go to the controlling terminal
(if possible - on remote connection no output will appear)

Another option is to remove your logged lines afterwards via some kind of OS script...
in vi you can use command :g/logname/d
will global perform command d (delete) on all lines that contain logname...