From 9e16e1c0c554a42624bd39c4a0cb1e07f390d24b Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Fri, 16 Mar 2018 10:23:16 -0700 Subject: [PATCH] Default composer-cli log should be in ./composer-cli.log Multiple users may use the tool, each one gets their own logfile. --- src/bin/composer-cli | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/composer-cli b/src/bin/composer-cli index 59a997fa..10f0ca63 100755 --- a/src/bin/composer-cli +++ b/src/bin/composer-cli @@ -75,8 +75,8 @@ def get_parser(): help="Output the raw JSON response instead of the normal output.") parser.add_argument("-s", "--socket", default="/run/weldr/api.socket", metavar="SOCKET", help="Path to the socket file to listen on") - parser.add_argument("--log", dest="logfile", default="/var/log/lorax-composer/cli.log", metavar="LOG", - help="Path to logfile (/var/log/lorax-composer/cli.log)") + parser.add_argument("--log", dest="logfile", default="./composer-cli.log", metavar="LOG", + help="Path to logfile (./composer-cli.log)") parser.add_argument("-a", "--api", dest="api_version", default="0", metavar="APIVER", help="API Version to use") parser.add_argument("--test", dest="testmode", default=0, type=int, metavar="TESTMODE",