Obrigada pela dica!!! Coloquei logtype como stderr e gerou o arquivo.
Também testei com log_min_duration_statement = 0 e = -1 e de ambas as formas, deu tudo certo. (Acredito que neste caso não observei o arquivo correto). Valeu (: Em 22 de março de 2010 14:43, JotaComm <[email protected]> escreveu: > Olá, > > Em 22 de março de 2010 14:28, Veronica Almeida <[email protected] > > escreveu: > > Pessoal, >> >> Alguém pode me ajudar com o uso do PgFouine? >> >> Utilizei o tutorial para configurar >> >> http://pgfouine.projects.postgresql.org/tutorial.html >> >> Mas, ocorrem os seguintes erros, ao tentar gerar o arquivo html (php >> pgfouine.php -file /var/log/postgresql/postgresql-2010-03-22.log > >> teste.html): >> >> Com 'stderr' >> >> 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). >> > > Aqui é legal você informar --logtype senão ele por padrão usa o syslog. > >> >> Já olhei o arquivo de configuração para mudar lc_messages = en.US... >> (conforme indica a msg) , porém ao restart, ocorre falha >> >> Com 'syslog' >> >> Não apresenta esta msg, porém o arquivo gerado não tem nada. >> > > Como assim não gera nada? Nenhuma linha? Por favor verifique o parâmetro > log_min_duration_statement? E veja se ele não está em -1. > >> >> Tentei usar as mesmas configurações do André ( >> http://old.nabble.com/Fwd:-pgfouine-td27840637.html), mas não tive >> sucesso também. >> >> Se tiverem algum link para me passar, fico muito grata! >> >> >> >> >> >> >> _______________________________________________ >> pgbr-geral mailing list >> [email protected] >> https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral >> >> > > []s > -- > JotaComm > http://jotacomm.wordpress.com > > _______________________________________________ > pgbr-geral mailing list > [email protected] > https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral > > -- Verônica Alessandra F. de Almeida Produtos & Internet - Banco de dados 55 11 3736 4515 [email protected] www.climatempo.com.br Climatempo. O Céu fala. A gente entende.
_______________________________________________ pgbr-geral mailing list [email protected] https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
