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 in my case).

I tried a bunch of things, like creating a file in
/etc/systemd/system/ with various options, but nothing. Postgresql
still logs to the files in data/pg_log/ which is ugly!

-- 
Martín Marqués
select 'martin.marques' || '@' || 'gmail.com'
DBA, Programador, Administrador
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to