def METHOD_NAME(self):
    if self.args.pgbadger is not None:
        return
    self._run_query(
        "alter system set logging_collector to on;")
    self._run_query(
        "alter system set log_filename to 'postgresql-%%a.log';")
    self._run_query(
        "alter system set log_checkpoints to on;")
    self._run_query(
        "alter system set log_connections to on;")
    self._run_query(
        "alter system set log_disconnections to on;")
    self._run_query(
        "alter system set log_lock_waits to on;")
    self._run_query(
        "alter system set log_temp_files to 0;")
    self._run_query(
        "alter system set log_autovacuum_min_duration to 0;")
    self._run_query(
        "alter system set track_io_timing to on;")
    self._run_query(
        "alter system set log_line_prefix to "
        "'%%t [%%p]: [%%l-1] db=%%d,user=%%u,app=%%a,client=%%h ';")