Re: redirect postgresql logs

2012-03-14 Thread Martín Marqués
2012/3/13 James Wilkinson : > Martín Marqués wrote: >> That's the question. How can I redirect potgresql logs using systemd? >> In the old System V times, I just edited /etc/init.d/postgresql and >> looked for the line that had the execution of the server and jus >> redirected the output to the fil

Re: redirect postgresql logs

2012-03-13 Thread James Wilkinson
Martín Marqués wrote: > That's the question. How can I redirect potgresql logs using systemd? > In the old System V times, I just edited /etc/init.d/postgresql and > looked for the line that had the execution of the server and jus > redirected the output to the file I wanted to have the logs > (/va

redirect postgresql logs

2012-03-12 Thread Martín Marqués
That's the question. How can I redirect potgresql logs using systemd? In the old System V times, I just edited /etc/init.d/postgresql and looked for the line that had the execution of the server and jus redirected the output to the file I wanted to have the logs (/var/log/postgresql/postgresql.log