mikf / gallery-dl

Command-line program to download image galleries and collections from several image hosting sites
GNU General Public License v2.0
12.05k stars 980 forks source link

[config]logfile to append #6566

Open maplestory03 opened 1 hour ago

maplestory03 commented 1 hour ago

mode Mode in which the file is opened; use "w" to truncate or "a" to append (see the built-in open() function) Default: "w"

    "output":
    {
    ……
        "mode": "a",
   ……
    }
     "logging":
     {
      "mode": "a"
     }

all don't work where can I set the mode?

mikf commented 1 hour ago

In output.logfile: https://github.com/mikf/gallery-dl/blob/4cd9ce8b39b25e79321fbffe17fd310fe2161f11/docs/gallery-dl-example.conf#L374-L379

maplestory03 commented 1 hour ago

"format": "[{post_id}_{creator['screen_name']}_{post_num}_{num}][{name}][{levelname}] {message}" {post_id} ,{creator['screen_name']} ……also can't use? hope to know when warning and error happend what user or page is