-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
When in console mode, and using gpm (the mouse program), I get a lot
of these messages in the log:
Feb 17 22:07:16 nimrodel /usr/sbin/gpm[4515]: *** info [gpm.c(723)]:
Feb 17 22:07:16 nimrodel /usr/sbin/gpm[4515]: Request on 7 (console 2)
Feb 17 22:07:16 nimrodel /usr/sbin/gpm[4515]: *** info [gpm.c(732)]:
Feb 17 22:07:16 nimrodel /usr/sbin/gpm[4515]: Closing
Feb 17 22:07:56 nimrodel /usr/sbin/gpm[4515]: *** info [gpm.c(821)]:
Feb 17 22:07:56 nimrodel /usr/sbin/gpm[4515]: Connecting at fd 6
Feb 17 22:08:11 nimrodel /usr/sbin/gpm[4515]: *** info [gpm.c(723)]:
Feb 17 22:08:11 nimrodel /usr/sbin/gpm[4515]: Request on 6 (console 2)
Feb 17 22:08:11 nimrodel /usr/sbin/gpm[4515]: *** info [gpm.c(732)]:
Feb 17 22:08:11 nimrodel /usr/sbin/gpm[4515]: Closing
I want to eradicate them.
Looking at "info gpm", I read:
`-V[VERBOSITY INCREMENT]'
Raise or decrease the maximum level of messages that will be
logged. Thus a positive argument has the effect of making the
program more verbose. One can also give a negative argument to
hush the program; due to getopt(3) rules, any optional argument
needs to be passed without a space in between! When omitting the
argument, the increment defaults to 1. Default verbosity level is
5 (`LOG_NOTICE'). *Note Program Arguments: (libc)Program
Arguments.
But it doesn't accept that parameter. See:
nimrodel:~ # gpm -m/dev/mouse -texps2
and I get the mouse correctly. I kill it:
nimrodel:~ # killall gpm
then retry with -V:
nimrodel:~ # gpm -m/dev/mouse -texps2 -V
*** err [gpn.c(141)]: Error in the commandline specification. Try "gpm -h".
nimrodel:~ # gpm -m/dev/mouse -texps2 -V 0
*** err [gpn.c(141)]: Error in the commandline specification. Try "gpm -h".
nimrodel:~ # gpm -m/dev/mouse -texps2 -V\ 0
*** err [gpn.c(141)]: Error in the commandline specification. Try "gpm -h".
nimrodel:~ # gpm -m/dev/mouse -texps2 -V0
*** err [gpn.c(141)]: Error in the commandline specification. Try "gpm -h".
nimrodel:~ # gpm -m/dev/mouse -texps2 -V5
*** err [gpn.c(141)]: Error in the commandline specification. Try "gpm -h".
nimrodel:~ # gpm -m/dev/mouse -texps2 -V 5
*** err [gpn.c(141)]: Error in the commandline specification. Try "gpm -h".
nimrodel:~ # gpm -m/dev/mouse -texps2 -V
*** err [gpn.c(141)]: Error in the commandline specification. Try "gpm -h".
nimrodel:~ # gpm -V -m/dev/mouse -texps2
*** err [gpn.c(141)]: Error in the commandline specification. Try "gpm -h".
I look at "gpm -h"
nimrodel:~ # gpm -h
Usage: gpm [options]
Valid options are (not all of them are implemented) <<====
...
-V verbosity increase number of logged messages
nimrodel:~ # gpm -V
*** err [gpn.c(141)]: Error in the commandline specification. Try "gpm -h".
nimrodel:~ # gpm -V1
*** err [gpn.c(141)]: Error in the commandline specification. Try "gpm -h".
So... it seems I'm using it correctly, but it is not implemented. How do I
reduce its verbosity? I don't want those messages in the syslog.
Is the only method filtering them out with syslog-ng?
- --
Cheers,
Carlos Robinson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Made with pgp4pine 1.76
iD8DBQFF13VAtTMYHG2NR9URAgPsAKCD98+ZI2glC8yjUj48u+7V2y8BigCfajbx
WUA6b6WPARG7DgZ99f/0br4=
=+2pC
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]