mirror of
https://github.com/bellingcat/cisticola.git
synced 2026-06-08 03:18:34 +03:00
Remove 200 post limit; add log rotation
This commit is contained in:
2
app.py
2
app.py
@@ -128,7 +128,7 @@ def init_db():
|
||||
if __name__ == "__main__":
|
||||
logger.remove()
|
||||
logger.add(sys.stdout, level="DEBUG", catch=True)
|
||||
logger.add("./test.log", level="TRACE")
|
||||
logger.add("logs/cisticola.log", level="TRACE", rotation="100 MB")
|
||||
|
||||
parser = argparse.ArgumentParser(description="Cisticola command line tools")
|
||||
parser.add_argument(
|
||||
|
||||
Reference in New Issue
Block a user