I followed what is explained in How to log PostgreSQL queries? but the logging collector stays off.
    postgres=# show logging_collector;
    logging_collector
    -------------------
    off
    (1 row)
My postgresql.conf file Looks like this:
    listen_addresses = '*'
    tcpip_socket = true
    log_statement = 'all'
    log_connections = yes
    log_destination = 'syslog'
    logging_collector = on
    log_directory = '/var/log/pg_log'
    log_filename = 'postgresql-%Y-%m-%d_%H%M%S.log'
    log_truncate_on_rotation = true
    log_rotation_age = 1440
    client_min_messages = LOG
    log_min_messages = INFO
    log_min_error_statement = DEBUG5
    log_min_duration_statement = 0
 
    