Fork of official Bluesky PDS (Personal Data Server).

Merge pull request #208 from mackuba/log_info

added info about configuring logging

authored by bnewbold.net and committed by

GitHub a6e8feaf ffe38df7

+22
+22
README.md
··· 228 228 229 229 _Note: Your PDS will need to be restarted with those variables. This varies depending on your setup. If you followed this installation guide, run `systemctl restart pds`. You might need to restart the server or recreate the container, depending on what you are using._ 230 230 231 + ### Logging 232 + 233 + By default, logs from the PDS are printed to `stdout` and end up in Docker's log. You can browse them by running: 234 + 235 + ``` 236 + [sudo] docker logs pds 237 + ``` 238 + 239 + Note: these logs are not persisted, so they will be lost after server reboot. 240 + 241 + Alternatively, you can configure the logs to be printed to a file by setting `LOG_DESTINATION`: 242 + 243 + ``` 244 + LOG_DESTINATION=/pds/pds.log 245 + ``` 246 + 247 + You can also change the minimum level of logs to be printed (default: `info`): 248 + 249 + ``` 250 + LOG_LEVEL=debug 251 + ``` 252 + 231 253 ### Updating your PDS 232 254 233 255 It is recommended that you keep your PDS up to date with new versions, otherwise things may break. You can use the `pdsadmin` tool to update your PDS.