[FUG-BR] Messagem de Log

Giancarlo Rubio giancarlo.rubio em pucpr.br
Segunda Novembro 13 12:13:06 BRST 2006


Mais vc nao colocou nd no syslog.conf??

On Mon, 2006-11-13 at 13:45 -0200, Marcio Antunes wrote:
> o meu esta assim
> 
> 
> # $FreeBSD: src/etc/syslog.conf,v 1.28 2005/03/12 12:31:16 glebius Exp $
> #
> #       Spaces ARE valid field separators in this file. However,
> #       other *nix-like systems still insist on using tabs as field
> #       separators. If you are sharing this file between systems, you
> #       may want to use only tabs as field separators here.
> #       Consult the syslog.conf(5) manpage.
> *.err;kern.warning;auth.notice;mail.crit                /dev/console
> *.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err
> /var/log/messages
> security.*                                      /var/log/security
> auth.info;authpriv.info                         /var/log/auth.log
> mail.info                                       /var/log/maillog
> lpr.info                                        /var/log/lpd-errs
> ftp.info                                        /var/log/xferlog
> cron.*                                          /var/log/cron
> *.=debug                                        /var/log/debug.log
> *.emerg                                         *
> # uncomment this to log all writes to /dev/console to /var/log/console.log
> console.info                                    /var/log/console.log
> # uncomment this to enable logging of all log messages to /var/log/all.log
> # touch /var/log/all.log and chmod it to mode 600 before it will work
> #*.*                                            /var/log/all.log
> # uncomment this to enable logging to a remote loghost named loghost
> #*.*                                            @loghost
> # uncomment these if you're running inn
> # news.crit                                     /var/log/news/news.crit
> # news.err                                      /var/log/news/news.err
> # news.notice                                   /var/log/news/news.notice
> !startslip
> *.*                                             /var/log/slip.log
> !ppp
> *.*                                             /var/log/ppp.log
> 
> 
> 
> 
> 
> Em 12/11/06, Giancarlo Rubio<giancarlo.rubio at pucpr.br> escreveu:
> > como que ta ai o syslog
> >
> >
> > On Sun, 2006-11-12 at 14:16 -0500, Marcio Antunes wrote:
> > > Sem problemas amigo,
> > >
> > > É  que as vezes eu vejo participantes de forum responder perguntas com
> > > simples "Procura no google, ele é seu amigo"
> > >
> > > Posso ter intepretado errado a sua resposta, mas aproveitando deixo
> > > esse meu possicionamento sobre certos tipos de respostas.
> > >
> > > Com relação ao problema de logar todas essas messagens "Connection
> > > attempt", elas estão indo para /var/log/messages, ja tentei modificar
> > > no syslog.conf e nao consegui.
> > >
> > > Valeu..
> > >
> > >
> > >
> > > Em 12/11/06, Giancarlo Rubio<giancarlo.rubio at pucpr.br> escreveu:
> > > > Marcio:
> > > >
> > > > Nao escrevi no intuito de te sacanear nem de menosprezar. Na verdade eu
> > > > escrevi o man incorreto o certo é
> > > > #man syslog.conf, é mto facil de enteder.. vc coloca a palavra chave e
> > > > para onde quer redirecionar. vc pode ler o arquivo do syslog que está
> > > > em /etc/syslog.conf!
> > > >
> > > > O que faltou foi vc saber "o que" procurar e nao como procurar.
> > > >
> > > > OK??
> > > >
> > > > Abraço!
> > > >
> > > > On Sat, 2006-11-11 at 21:47 -0200, Marcio Antunes wrote:
> > > > > Amigos,
> > > > >
> > > > > Evidente que temos o man, porem vejo  certos "participantes" que tem a
> > > > > capacidade excelente dica, certamente que qualquer um de nós sabemos
> > > > > que existe o man.
> > > > >
> > > > > Eu quando estou com duvida, para um comando, primeiro olho o man e
> > > > > depois vou ao GMA - (Google Maior Amigo) porem nem sempre achamos, ou
> > > > > então, a forma de achar é não correta, por isso existe o Forum, este
> > > > > da FUG acho um dos melhores. é uma forma de compartilhamento de
> > > > > conhecimento, aqueles que acha a pergunta facil desconsidere, vcs
> > > > > nobres amigos, nunca me veram responder uma pergunta de um colega
> > > > > assim
> > > > >
> > > > > - man <comando>
> > > > > - www.google.com.br
> > > > >
> > > > >
> > > > > flames -- dev/nul (by irado)
> > > > >
> > > > > Marcio
> > > > >
> > > > >
> > > > > Em 10/11/06, Giancarlo Rubio<giancarlo.rubio at pucpr.br> escreveu:
> > > > > > man syslog
> > > > > >
> > > > > >
> > > > > > Marcio Antunes disse:
> > > > > > > Galera,
> > > > > > >
> > > > > > > Estou tendo esta messagem no /var/log/message, acho que é alguem
> > > > > > > usando o nmap para scanear o meu servidor, como eu faça para tirar
> > > > > > > essa messagem e colocar em um log especifico.
> > > > > > >
> > > > > > > Connection attempt to UDP 172.16.0.38:137 from 172.16.0.172:46093
> > > > > > > Connection attempt to UDP 172.16.0.38:137 from 172.16.0.172:46093
> > > > > > >
> > > > > > > Marcio
> > > > > > > -------------------------
> > > > > > > Histórico: http://www.fug.com.br/historico/html/freebsd/
> > > > > > > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> > > > > > >
> > > > > >
> > > > > > -------------------------
> > > > > > Histórico: http://www.fug.com.br/historico/html/freebsd/
> > > > > > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> > > > > >
> > > > > -------------------------
> > > > > Histórico: http://www.fug.com.br/historico/html/freebsd/
> > > > > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> > > > --
> > > > "Linux is for people who hate Windows,
> > > > BSD is for people who love UNIX"
> > > > Freebsd-BR User #88
> > > > ---
> > > > Giancarlo Rubio
> > > >
> > > > -------------------------
> > > > Histórico: http://www.fug.com.br/historico/html/freebsd/
> > > > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> > > >
> > > -------------------------
> > > Histórico: http://www.fug.com.br/historico/html/freebsd/
> > > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> > --
> > "Linux is for people who hate Windows,
> > BSD is for people who love UNIX"
> > Freebsd-BR User #88
> > ---
> > Giancarlo Rubio
> >
> > -------------------------
> > Histórico: http://www.fug.com.br/historico/html/freebsd/
> > Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
> >
> -------------------------
> Histórico: http://www.fug.com.br/historico/html/freebsd/
> Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd
-- 
"Linux is for people who hate Windows,
BSD is for people who love UNIX"
Freebsd-BR User #88
---
Giancarlo Rubio



Mais detalhes sobre a lista de discussão freebsd