While most server startup scripts will save the log file output that the server writes for you, that's typically going to be into a single file, such as how RedHat systems create a pg_startup.log for you.
If you want to save log files for query analysis, or you just want the log files to be created in batches (per day by default), you'll want to turn the logging_collector parameter on. Afterwards, instead of a ...