Resolvi Dickson; O problema é que referenciei o arquivo de log postgresql-8.3-main.log e o certo era main.log. Sobre no parâmetro log_line_prefix que vc deu sugestão de colocar '%t [%p]: [%l-1] user=%u,db=%d ', não creio nisto.
Para SYSLOG log_destination = 'syslog' log_line_prefix = 'user=%u,db=%d' Para STDERR log_destination = 'stderr' log_line_prefix = '%t [%p]: [%l-1] ' Finalizando, se seguir todos os passos que passei dá certo... 2009/1/8 Dickson S. Guedes <[email protected]> > Junin escreveu: > > Galerinha, > > > > Segue abaixo todos meus procedimentos e o erro final... > > > > (...) > > 7 - OLHA O ERRO > > > > erro: > > > > r...@es605-444:/var/log/postgresql# > > /home/junin-dba/pgfouine-1.0/pgfouine.php -file > > postgresql-8.3-main.log > /home/junin-dba/Área\ de\ > > Trabalho/somefile.html > > pgFouine did not find any valid PostgreSQL log line in your log file: > > * check that PostgreSQL uses an english locale for logging > > (lc_messages in your postgresql.conf), > > * check that you use the -logtype option (syslog, stderr) according to > > your log file, > > * if you use syslog and log_line_prefix, check that your > > log_line_prefix has a trailing space, > > * if you use stderr, check that your log_line_prefix is of the form > > '%t [%p]: [%l-1] '. > > If you think your log file and your options are correct, please > > contact the author (gsmet on #postgre...@freenode or guillaume-pg at > > smet dot org). > > O log cantou a bola, mas vou falar depois. > > > Solucao 1 - mudar para ingles no postgresql.conf o parametro > > lc_messages //fiz e nada; > > Vi que você leu o log. É isso, tem que estar em inglês ali senão as > regex do pgfouine não encontrarão nada. > > > Solucao 2 - verificar o log_line_prefix = 'user=%u,db=%d '#tem o > > espaço no final... > > Vi que você não leu o log na integra pois a sua "Solução 2" está > incompleta. O log_line_prefix precisa ser, no mínimo: > > '%t [%p]: [%l-1] ' > > mas você pode adicionar seu usuário e versão: > > '%t [%p]: [%l-1] user=%u,db=%d ' > > > Tente lá e nos comunique. > > -- > Dickson S. Guedes > Administrador de Banco de Dados > Confesol - Projeto Colmeia > Florianopolis, SC, Brasil > (48) 3322-1185, ramal: 26 > > _______________________________________________ > pgbr-geral mailing list > [email protected] > https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral > -- VALTER CEZAR PRADO JUNIOR GRADUADO EM CIÊNCIA DA COMPUTAÇÃO - UFOP ANALISTA DE SISTEMAS - BYSAT DBA / PROJETISTA DE SISTEMAS - PBH INTEGRANTE DA COMUNIDADE PGBR-GERAL Sem saber como fazer ele fez!
_______________________________________________ pgbr-geral mailing list [email protected] https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
