# Backup log file that looks like compare --full-results

**URL:** https://forum.duplicati.com/t/backup-log-file-that-looks-like-compare-full-results/9769
**Category:** Uncategorized
**Created:** [May 3, 2020, 8:26pm UTC](https://forum.duplicati.com/t/backup-log-file-that-looks-like-compare-full-results/9769 "2020-05-03T20:26:05Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![duplicatiuser](https://forum.duplicati.com/user_avatar/forum.duplicati.com/duplicatiuser/32/4609_2.png) [@duplicatiuser](https://forum.duplicati.com/u/duplicatiuser)
#### Post date: [May 3, 2020, 8:26pm UTC](https://forum.duplicati.com/t/backup-log-file-that-looks-like-compare-full-results/9769/1 "2020-05-03T20:26:06Z")

</div>

I am looking for my log file to basically look like the results of the compare --full-results command. Is there any way to do that without resorting to command lines and scripts? I currently have log-file-log-level set to Verbose and log-file-log-filter as the following:

`-*-SkipCheckNoMetadataChange;-*-IncludingPath;-*-ExcludingPathFromAttributes;-*-AddDirectory`

But that can’t hold a candle to the beautiful, clean output produced by the compare --full-results command, with it’s very readable + / - / ~ lists and excellent summary.

---

<div class="post-metadata">

### Author: ![drwtsn32](https://forum.duplicati.com/user_avatar/forum.duplicati.com/drwtsn32/32/2591_2.png) [@drwtsn32](https://forum.duplicati.com/u/drwtsn32)
#### Post date: [May 4, 2020, 9:09pm UTC](https://forum.duplicati.com/t/backup-log-file-that-looks-like-compare-full-results/9769/2 "2020-05-04T21:09:36Z")

</div>

As far as I know you can’t get the built-in Web UI job log to look like that. To generate the output I can only think of three ways… the two you are trying to avoid (command prompt or scripts), the third is using the “command line” in the web UI.

---

<div class="post-metadata">

### Author: ![duplicatiuser](https://forum.duplicati.com/user_avatar/forum.duplicati.com/duplicatiuser/32/4609_2.png) [@duplicatiuser](https://forum.duplicati.com/u/duplicatiuser)
#### Post date: [May 5, 2020, 6:19pm UTC](https://forum.duplicati.com/t/backup-log-file-that-looks-like-compare-full-results/9769/3 "2020-05-05T18:19:19Z")

</div>

Hm…is it possible in the command-line settings in the web UI to issue a compare as part of the backup job, and then include the --full-results output to the backup job’s log file?

---

<div class="post-metadata">

### Author: ![drwtsn32](https://forum.duplicati.com/user_avatar/forum.duplicati.com/drwtsn32/32/2591_2.png) [@drwtsn32](https://forum.duplicati.com/u/drwtsn32)
#### Post date: [May 6, 2020, 2:39am UTC](https://forum.duplicati.com/t/backup-log-file-that-looks-like-compare-full-results/9769/4 "2020-05-06T02:39:10Z")

</div>

Sorry, I don’t believe that is possible but I could be wrong. You could use a post-backup script that extracts the results and sends a separate email (using some command line utility).

It’d be a nice option to have in a future version of Duplicati, though.

---

<div class="post-metadata">

### Author: ![ts678](https://forum.duplicati.com/letter_avatar_proxy/v4/letter/t/8491ac/32.png) [@ts678](https://forum.duplicati.com/u/ts678)
#### Post date: [May 6, 2020, 12:04pm UTC](https://forum.duplicati.com/t/backup-log-file-that-looks-like-compare-full-results/9769/5 "2020-05-06T12:04:03Z")

</div>

> [@drwtsn32](#):
>
> sends a separate email (using some command line utility)

[Blat - Windows Command Line SMTP Mailer](https://sourceforge.net/projects/blat/) would be an example, but there are others around.

[run-script-example.bat](https://github.com/duplicati/duplicati/blob/master/Duplicati/Library/Modules/Builtin/run-script-example.bat) (also on your system) is an example of the sort of things scripting can do.  
Putting arbitrary data in logs is not particularly supported AFAIK, but ugly workaround may exist:

[Where does script output go to (difference between BEFORE and AFTER?)](https://forum.duplicati.com/t/where-does-script-output-go-to-difference-between-before-and-after/9571/2)

> stderr is captured in either `--run-script-before` or `--run-script-after` but all that it does is include the output in Duplicati’s own logging mechanism.

[Output from run scripts](https://forum.duplicati.com/t/output-from-run-scripts/9767/2) gets into how to redirect output on Windows (a topic I’m not expert on…).

If you manage to shove output lines into the logging system, there may still be length limit issues.
