---
title: 'lfd:logscanner'
url: 'https://docs.danami.com/juggernaut/command-line-interface/lfd/lfd-logscanner'
markdown: 'https://docs.danami.com/juggernaut/command-line-interface/lfd/lfd-logscanner.md'
date: '2026-09-24'
description: 'Configure an email summary of the log lines of logs. juggernaut --task=lfd:logscanner Option Value Default Description --LOGSCANNER <1|0> 0 Send out an email summary of the log lines of each log listed in /etc/csf/csf.logfiles. All lines will be reported unless they match a regula…'
taxonomy:
  category:
    - docs
  tag:
    - log_scanner
---

[](#)  [ Basics ](https://docs.danami.com/juggernaut/)     [ Command Line Interface ](https://docs.danami.com/juggernaut/command-line-interface)      Lfd       lfd:logscanner    

# lfd:logscanner

Configure an email summary of the log lines of logs.

```
juggernaut --task=lfd:logscanner
```

| Option | Value | Default | Description |
|---|---|---|---|
| `--LOGSCANNER` | <1\|0> | 0 | Send out an email summary of the log lines of each log listed in `/etc/csf/csf.logfiles`. All lines will be reported unless they match a regular expression in `/etc/csf/csf.logignore`. |
| `--LOGSCANNER_INTERVAL` | <hourly\|daily\|manual> | hourly | The interval each report will be sent. |
| `--LOGSCANNER_STYLE` |  | 1 | The logscanner report style. |
| `--LOGSCANNER_EMPTY` | <1\|0> | 1 | Send the report email even if no log lines reported. |
| `--LOGSCANNER_LINES` |  | 5000 | The maximum number of lines in the report before it is truncated. |
| `--default` | <yes> |  | Reset all settings to their default values. |
| `--default_option` | <option> |  | Reset a specific setting to its default value. |
| `--restart` | <yes> |  | Restart the service after saving settings. |

## Examples

```
// enable the LOGSCANNER
juggernaut --task=lfd:logscanner --LOGSCANNER=1 --restart=yes

// reset LOGSCANNER back to default
juggernaut --task=lfd:logscanner --default_option=LOGSCANNER --restart=yes

// reset all settings back to default
juggernaut --task=lfd:logscanner --default=yes --restart=yes
```

## Related Pages

- [Log Scanner](https://docs.danami.com/juggernaut/user-guide/log-scanner "Log Scanner")
- [Log Scanner](https://docs.danami.com/juggernaut/settings/login-failure-daemon/log-scanner "Log Scanner")

 [ ](https://docs.danami.com/juggernaut/user-guide/log-scanner) [](https://docs.danami.com/juggernaut/command-line-interface/lfd/lfd-logscanner-logs)

---

## Navigation

- Previous: [lfd:loginfailurecustomtriggers](https://docs.danami.com/juggernaut/command-line-interface/lfd/lfd-loginfailurecustomtriggers.md)
- Next: [lfd:logscanner:logs](https://docs.danami.com/juggernaut/command-line-interface/lfd/lfd-logscanner-logs.md)
