Skip to content

Commit 2e6787d

Browse files
committed
Add input log_verbose
1 parent ee061eb commit 2e6787d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
uses: ./
2323
with:
2424
log_file: /tmp/clamd.log
25+
log_verbose: yes
2526
- name: Ping clamd on TCP port 3310
2627
run: echo PING | nc localhost 3310
2728
- name: Ping clamd using the Unix socket

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ inputs:
1414
stream_max_length:
1515
description: Streaming size limit
1616
default: 1M
17+
log_verbose:
18+
description: Enable verbose logging (yes or no)
19+
default: no
1720
log_file:
1821
description: Enable logging to the selected file
1922
required: false
@@ -29,6 +32,7 @@ runs:
2932
echo DatabaseMirror database.clamav.net >> freshclam.conf
3033
echo TCPSocket ${{ inputs.tcp_port }} >> clamd.conf
3134
echo StreamMaxLength ${{ inputs.stream_max_length }} >> clamd.conf
35+
echo LogVerbose ${{ inputs.log_verbose }} >> clamd.conf
3236
- name: Add log file if needed
3337
if: ${{ inputs.log_file != '' }}
3438
shell: bash

0 commit comments

Comments
 (0)