* [gentoo-user] How to avoid NetworkManager logs <info> in terminals @ 2008-02-14 13:02 Ale 2008-02-14 14:37 ` dell core2duo 2008-02-15 0:37 ` Iain Buchanan 0 siblings, 2 replies; 9+ messages in thread From: Ale @ 2008-02-14 13:02 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 534 bytes --] I get many <info> lines in the tty1 every time i start NM, the same happend if i add NM service at boot time. I don't like all that output, with a simple Network manager starting [OK] is enough, which i see in the terminal when i manually start the service is ok. What can i do to avoid this? The start-stop daemon have the parameter --quiet I double check /etc/rc and the VERBOSE option for this kind of services is off i tried adding a /dev/null >& at the end of the start-stop daemon call, but didn't work. Any clues? Cheers! [-- Attachment #2: Type: text/html, Size: 630 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] How to avoid NetworkManager logs <info> in terminals 2008-02-14 13:02 [gentoo-user] How to avoid NetworkManager logs <info> in terminals Ale @ 2008-02-14 14:37 ` dell core2duo 2008-02-15 0:37 ` Iain Buchanan 1 sibling, 0 replies; 9+ messages in thread From: dell core2duo @ 2008-02-14 14:37 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 773 bytes --] Hi, Exactly same problem for me. I even compiled the networkmanger package with use flag "debug" disable but in vain. Thanks, flukebox On Thu, Feb 14, 2008 at 6:32 PM, Ale <elcorreodeale@gmail.com> wrote: > I get many <info> lines in the tty1 every time i start NM, the same > happend if i add NM service at boot time. I don't like all that output, with > a simple Network manager starting [OK] is enough, which i see in the > terminal when i manually start the service is ok. > What can i do to avoid this? > > The start-stop daemon have the parameter --quiet > I double check /etc/rc and the VERBOSE option for this kind of services > is off > i tried adding a /dev/null >& at the end of the start-stop daemon call, > but didn't work. > > Any clues? > > Cheers! > [-- Attachment #2: Type: text/html, Size: 1090 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] How to avoid NetworkManager logs <info> in terminals 2008-02-14 13:02 [gentoo-user] How to avoid NetworkManager logs <info> in terminals Ale 2008-02-14 14:37 ` dell core2duo @ 2008-02-15 0:37 ` Iain Buchanan 2008-02-15 15:13 ` Alejandro Bednarik 1 sibling, 1 reply; 9+ messages in thread From: Iain Buchanan @ 2008-02-15 0:37 UTC (permalink / raw To: gentoo-user On Thu, 2008-02-14 at 10:02 -0300, Ale wrote: > I get many <info> lines in the tty1 every time i start NM, the same > happend if i add NM service at boot time. I don't like all that > output, with a simple Network manager starting [OK] is enough, which i > see in the terminal when i manually start the service is ok. > What can i do to avoid this? what's wrong with output? can you post the output verbatim? I had a look at the init script and it doesn't seem to print much. > The start-stop daemon have the parameter --quiet > I double check /etc/rc and the VERBOSE option for this kind of > services is off > i tried adding a /dev/null >& at the end of the start-stop daemon > call, but didn't work. not quite sure what "/dev/null >&" would do. I tried this with net.eth0: sudo /etc/init.d/net.eth0 restart >/dev/null and it got rid of all the output. To be sure, you could add 2>&1 sudo /etc/init.d/net.eth0 restart >/dev/null 2>&1 > Any clues? > > Cheers! HTH, -- Iain Buchanan <iaindb at netspace dot net dot au> Advertising Rule: In writing a patent-medicine advertisement, first convince the reader that he has the disease he is reading about; secondly, that it is curable. -- gentoo-user@lists.gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] How to avoid NetworkManager logs <info> in terminals 2008-02-15 0:37 ` Iain Buchanan @ 2008-02-15 15:13 ` Alejandro Bednarik 2008-02-16 13:43 ` Iain Buchanan 0 siblings, 1 reply; 9+ messages in thread From: Alejandro Bednarik @ 2008-02-15 15:13 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 2504 bytes --] 2008/2/14, Iain Buchanan <iaindb@netspace.net.au>: > > > On Thu, 2008-02-14 at 10:02 -0300, Ale wrote: > > I get many <info> lines in the tty1 every time i start NM, the same > > happend if i add NM service at boot time. I don't like all that > > output, with a simple Network manager starting [OK] is enough, which i > > see in the terminal when i manually start the service is ok. > > What can i do to avoid this? > > > what's wrong with output? can you post the output verbatim? I had a > look at the init script and it doesn't seem to print much. > > > > The start-stop daemon have the parameter --quiet > > I double check /etc/rc and the VERBOSE option for this kind of > > services is off > > i tried adding a /dev/null >& at the end of the start-stop daemon > > call, but didn't work. > > > not quite sure what "/dev/null >&" would do. I tried this with > net.eth0: > sudo /etc/init.d/net.eth0 restart >/dev/null > > and it got rid of all the output. To be sure, you could add 2>&1 > sudo /etc/init.d/net.eth0 restart >/dev/null 2>&1 > > > Any clues? > > > > Cheers! > > HTH, > -- > Iain Buchanan <iaindb at netspace dot net dot au> > > Advertising Rule: > In writing a patent-medicine advertisement, first convince the > reader that he has the disease he is reading about; secondly, > that it is curable. > > > -- > gentoo-user@lists.gentoo.org mailing list > > This is my tty1 after i start Networkmanager (not net.eth0, which are different services) and connect to a wireless network. The same happend when i bootup my system. I need my tty's to work and plus all thi info is odd and useless NetworkManager: <info> address 192.168.0.112 NetworkManager: <info> netmask 255.255.255.0 NetworkManager: <info> broadcast 192.168.0.255 NetworkManager: <info> gateway 192.168.0.1 NetworkManager: <info> nameserver 192.168.0.1 NetworkManager: <info> hostname 'gentoo' NetworkManager: <info> Activation (eth1) Stage 5 of 5 (IP Configure Commit) scheduled... NetworkManager: <info> Activation (eth1) Stage 4 of 5 (IP Configure Get) complete. NetworkManager: <info> Activation (eth1) Stage 5 of 5 (IP Configure Commit) started... NetworkManager: <info> Setting hostname to 'gentoo' NetworkManager: <info> Activation (eth1) successful, device activated. NetworkManager: <info> Activation (eth1) Finish handler scheduled. NetworkManager: <info> Activation (eth1) Stage 5 of 5 (IP Configure Commit) complete. Cheers, and thank for help us! [-- Attachment #2: Type: text/html, Size: 3690 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] How to avoid NetworkManager logs <info> in terminals 2008-02-15 15:13 ` Alejandro Bednarik @ 2008-02-16 13:43 ` Iain Buchanan 2008-02-17 20:08 ` Alejandro Bednarik 0 siblings, 1 reply; 9+ messages in thread From: Iain Buchanan @ 2008-02-16 13:43 UTC (permalink / raw To: gentoo-user On Fri, 2008-02-15 at 13:13 -0200, Alejandro Bednarik wrote: > 2008/2/14, Iain Buchanan <iaindb@netspace.net.au>: [snip] > > > The start-stop daemon have the parameter --quiet > > > I double check /etc/rc and the VERBOSE option for this kind of > > > services is off > > > i tried adding a /dev/null >& at the end of the start-stop daemon > > > call, but didn't work. > > > > > > not quite sure what "/dev/null >&" would do. I tried this with > > net.eth0: > > sudo /etc/init.d/net.eth0 restart >/dev/null > > > > and it got rid of all the output. To be sure, you could add 2>&1 > > sudo /etc/init.d/net.eth0 restart >/dev/null 2>&1 [snip] > This is my tty1 after i start Networkmanager (not net.eth0, which are > different services) yes, I know :) I was just using net.eth0 as an example because I was too lazy to install networkmanager and see for myself! > and connect to a wireless network. The same happend when > i bootup my system. I need my tty's to work and plus all thi info is odd and > useless [snip] > Cheers, and thank for help us! Did you try my suggestion? > > sudo /etc/init.d/net.eth0 restart >/dev/null 2>&1 did it help? (substitute net.eth0 with NetworkManager ;) It looks like all the output comes from this line in the init script (again, only looking in the source, so YMMV) start-stop-daemon --start --quiet --exec ${processname} try adding >/dev/null 2>&1 to the end of it. HTH, -- Iain Buchanan <iaindb at netspace dot net dot au> Its name is Public Opinion. It is held in reverence. It settles everything. Some think it is the voice of God. -- Mark Twain -- gentoo-user@lists.gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] How to avoid NetworkManager logs <info> in terminals 2008-02-16 13:43 ` Iain Buchanan @ 2008-02-17 20:08 ` Alejandro Bednarik 2008-02-18 7:07 ` Iain Buchanan 0 siblings, 1 reply; 9+ messages in thread From: Alejandro Bednarik @ 2008-02-17 20:08 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 2567 bytes --] 2008/2/16, Iain Buchanan <iaindb@netspace.net.au>: > > > On Fri, 2008-02-15 at 13:13 -0200, Alejandro Bednarik wrote: > > 2008/2/14, Iain Buchanan <iaindb@netspace.net.au>: > > [snip] > > > > > The start-stop daemon have the parameter --quiet > > > > I double check /etc/rc and the VERBOSE option for this kind of > > > > services is off > > > > i tried adding a /dev/null >& at the end of the start-stop daemon > > > > call, but didn't work. > > > > > > > > > not quite sure what "/dev/null >&" would do. I tried this with > > > net.eth0: > > > sudo /etc/init.d/net.eth0 restart >/dev/null > > > > > > and it got rid of all the output. To be sure, you could add 2>&1 > > > sudo /etc/init.d/net.eth0 restart >/dev/null 2>&1 > > [snip] > > > This is my tty1 after i start Networkmanager (not net.eth0, which are > > different services) > > yes, I know :) I was just using net.eth0 as an example because I was > too lazy to install networkmanager and see for myself! > > > and connect to a wireless network. The same happend when > > i bootup my system. I need my tty's to work and plus all thi info is odd > and > > useless > > [snip] > > > Cheers, and thank for help us! > > Did you try my suggestion? > > > > sudo /etc/init.d/net.eth0 restart >/dev/null 2>&1 > > did it help? (substitute net.eth0 with NetworkManager ;) > > It looks like all the output comes from this line in the init script > (again, only looking in the source, so YMMV) > start-stop-daemon --start --quiet --exec ${processname} > > try adding > >/dev/null 2>&1 > to the end of it. > > HTH, > -- > Iain Buchanan <iaindb at netspace dot net dot au> > > Its name is Public Opinion. It is held in reverence. It settles > everything. > Some think it is the voice of God. > -- Mark Twain > > -- > gentoo-user@lists.gentoo.org mailing list Hi! about sudo /etc/init.d/net.eth0 restart >/dev/null 2>&1 I tried this before send this email, but the NetworkManager logs <info> and <debug> in the tty1 anyway, the only change is that i don't see any output in the terminal i run the command. about start-stop-daemon --start --quiet --exec ${processname} yes, i also tried your suggestion before send the email, but with the same bad result. I not sure but for me, the parameter console=tty1 i have in the the kernel line i use in grub have something to do (i use fbsplash and fbcondecor), but is not the only reason, i check sabayon linux which use NetworkManager, fbsplash and fbconvecor just like the way i do, but NM don't do the same. Many thanks for your help! Cheers! [-- Attachment #2: Type: text/html, Size: 3449 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] How to avoid NetworkManager logs <info> in terminals 2008-02-17 20:08 ` Alejandro Bednarik @ 2008-02-18 7:07 ` Iain Buchanan 2008-02-19 15:03 ` Ale 0 siblings, 1 reply; 9+ messages in thread From: Iain Buchanan @ 2008-02-18 7:07 UTC (permalink / raw To: gentoo-user On Sun, 2008-02-17 at 18:08 -0200, Alejandro Bednarik wrote: > > > 2008/2/16, Iain Buchanan <iaindb@netspace.net.au>: > try adding > >/dev/null 2>&1 > to the end of it. > Hi! > about sudo /etc/init.d/net.eth0 restart >/dev/null 2>&1 I tried this > before send this email, but the NetworkManager logs <info> and <debug> > in the tty1 anyway, the only change is that i don't see any output in > the terminal i run the command. aaaaaaaaahhhhhhhhhhhh i see... I thought you were on console 1, I didn't realise that NetworkManager printed output to console 1 even if you started it from elsewhere... Now I get it! > about start-stop-daemon --start --quiet --exec ${processname} yes, i > also tried your suggestion before send the email, but with the same > bad result. yes, won't work given what you've said... > I not sure but for me, the parameter console=tty1 i have in the the > kernel line i use in grub have something to do (i use fbsplash and > fbcondecor), but is not the only reason, i check sabayon linux which > use NetworkManager, fbsplash and fbconvecor just like the way i do, > but NM don't do the same. Sounds like NetworkManager is using syslog() to write to the log file, and you have syslog set up to notify you. This usually happens by printing messages to console 1! NetworkManager seems to translate glib errors directly to syslog errors. Have a look at nm-logging.c if you want to see more about that. Anyway, depending on the logger you use (I use syslog-ng) you can set it up not to be so verbose. syslog-ng allows you to filter based on program name for example. man syslog-ng.conf for more info (or whatever logger you use :) Have a look at http://www.campin.net/syslog-ng.conf for some examples. HTH, -- Iain Buchanan <iaindb at netspace dot net dot au> I can understand how they wouldn't let in those wild jungle apes, but what about those really smart ones who live among us who rollerskate and smoke cigars? -- Homer Simpson, on Heaven The Telltale Head -- gentoo-user@lists.gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] How to avoid NetworkManager logs <info> in terminals 2008-02-18 7:07 ` Iain Buchanan @ 2008-02-19 15:03 ` Ale 2008-02-19 23:01 ` Iain Buchanan 0 siblings, 1 reply; 9+ messages in thread From: Ale @ 2008-02-19 15:03 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 2489 bytes --] 2008/2/18, Iain Buchanan <iaindb@netspace.net.au>: > > > On Sun, 2008-02-17 at 18:08 -0200, Alejandro Bednarik wrote: > > > > > > 2008/2/16, Iain Buchanan <iaindb@netspace.net.au>: > > > try adding > > >/dev/null 2>&1 > > to the end of it. > > > Hi! > > about sudo /etc/init.d/net.eth0 restart >/dev/null 2>&1 I tried this > > before send this email, but the NetworkManager logs <info> and <debug> > > in the tty1 anyway, the only change is that i don't see any output in > > the terminal i run the command. > > > aaaaaaaaahhhhhhhhhhhh i see... > > I thought you were on console 1, I didn't realise that NetworkManager > printed output to console 1 even if you started it from elsewhere... Now > I get it! > > > about start-stop-daemon --start --quiet --exec ${processname} yes, i > > also tried your suggestion before send the email, but with the same > > bad result. > > yes, won't work given what you've said... > > > I not sure but for me, the parameter console=tty1 i have in the the > > kernel line i use in grub have something to do (i use fbsplash and > > fbcondecor), but is not the only reason, i check sabayon linux which > > use NetworkManager, fbsplash and fbconvecor just like the way i do, > > but NM don't do the same. > > Sounds like NetworkManager is using syslog() to write to the log file, > and you have syslog set up to notify you. This usually happens by > printing messages to console 1! NetworkManager seems to translate glib > errors directly to syslog errors. Have a look at nm-logging.c if you > want to see more about that. > > Anyway, depending on the logger you use (I use syslog-ng) you can set it > up not to be so verbose. syslog-ng allows you to filter based on > program name for example. man syslog-ng.conf for more info (or whatever > logger you use :) > > Have a look at http://www.campin.net/syslog-ng.conf for some examples. > > HTH, > > -- > Iain Buchanan <iaindb at netspace dot net dot au> > > I can understand how they wouldn't let in those wild jungle apes, but what > about those really smart ones who live among us who rollerskate and smoke > cigars? > > -- Homer Simpson, on Heaven > The Telltale Head > > -- > gentoo-user@lists.gentoo.org mailing list > > You rock! that was the key of my problem, i just added syslog-ng to the default run level and i don't get more that odd behavior of NetworkManager. Now is time to configure syslog-ng properly. Many thanks! :D Cheers! [-- Attachment #2: Type: text/html, Size: 3455 bytes --] ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] How to avoid NetworkManager logs <info> in terminals 2008-02-19 15:03 ` Ale @ 2008-02-19 23:01 ` Iain Buchanan 0 siblings, 0 replies; 9+ messages in thread From: Iain Buchanan @ 2008-02-19 23:01 UTC (permalink / raw To: gentoo-user On Tue, 2008-02-19 at 12:03 -0300, Ale wrote: > 2008/2/18, Iain Buchanan <iaindb@netspace.net.au>: > > Sounds like NetworkManager is using syslog() to write to the log file, > > and you have syslog set up to notify you. This usually happens by > > printing messages to console 1! NetworkManager seems to translate glib > > errors directly to syslog errors. Have a look at nm-logging.c if you > > want to see more about that. > > > > Anyway, depending on the logger you use (I use syslog-ng) you can set it > > up not to be so verbose. syslog-ng allows you to filter based on > > program name for example. man syslog-ng.conf for more info (or whatever > > logger you use :) > > > > Have a look at http://www.campin.net/syslog-ng.conf for some examples. > > > > HTH, > > > You rock! that was the key of my problem, i just added syslog-ng to the > default run level and i don't get more that odd behavior of NetworkManager. > Now is time to configure syslog-ng properly. > > Many thanks! :D no probs. It took a while but we got there! cya, -- Iain Buchanan <iaindb at netspace dot net dot au> * m2 stares at the monitor... it looks like a hamburger... <Knghtbrd> m2 - that's a bad sign -- gentoo-user@lists.gentoo.org mailing list ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2008-02-19 23:01 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-02-14 13:02 [gentoo-user] How to avoid NetworkManager logs <info> in terminals Ale 2008-02-14 14:37 ` dell core2duo 2008-02-15 0:37 ` Iain Buchanan 2008-02-15 15:13 ` Alejandro Bednarik 2008-02-16 13:43 ` Iain Buchanan 2008-02-17 20:08 ` Alejandro Bednarik 2008-02-18 7:07 ` Iain Buchanan 2008-02-19 15:03 ` Ale 2008-02-19 23:01 ` Iain Buchanan
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox