Daniel Nilsen

    Daniel Nilsen

    6 months ago
    Hi! How do I persist the logs generated by the server? I would like the logs to stay even if I restart the server
    Anna Geller

    Anna Geller

    6 months ago
    Prefect stores them in your backend database. Here is how you can attach a Postgres volume in your Server setup:
    prefect server start --expose --use-volume # will by default use volume '~/.prefect/pg_data
    
    # for more information, run:
    prefect server start --help