From cd096ac6e6f31b9d8e539f91abca0fa34e902f47 Mon Sep 17 00:00:00 2001 From: grossmj Date: Wed, 27 Apr 2022 14:15:29 +0700 Subject: [PATCH] Backward compatibility for --log argument --- gns3server/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/server.py b/gns3server/server.py index d1e15296..553fc6f2 100644 --- a/gns3server/server.py +++ b/gns3server/server.py @@ -111,7 +111,7 @@ class Server: ) parser.add_argument("-q", "--quiet", default=False, action="store_true", help="do not show logs on stdout") parser.add_argument("-d", "--debug", default=False, action="store_true", help="show debug logs") - parser.add_argument("--logfile", help="send output to logfile instead of console") + parser.add_argument("--logfile", "--log", help="send output to logfile instead of console") parser.add_argument("--logmaxsize", default=10000000, help="maximum logfile size in bytes (default is 10MB)") parser.add_argument( "--logbackupcount", default=10, help="number of historical log files to keep (default is 10)"