aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases/411_logging/001_file/000_json.robot
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/cases/411_logging/001_file/000_json.robot')
-rw-r--r--test/functional/cases/411_logging/001_file/000_json.robot17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/functional/cases/411_logging/001_file/000_json.robot b/test/functional/cases/411_logging/001_file/000_json.robot
new file mode 100644
index 000000000..a2f04e85c
--- /dev/null
+++ b/test/functional/cases/411_logging/001_file/000_json.robot
@@ -0,0 +1,17 @@
+*** Settings ***
+Test Setup Rspamd Setup
+Library ${RSPAMD_TESTDIR}/lib/rspamd.py
+Resource ${RSPAMD_TESTDIR}/lib/rspamd.robot
+Variables ${RSPAMD_TESTDIR}/lib/vars.py
+
+*** Variables ***
+${CONFIG} ${RSPAMD_TESTDIR}/configs/loggingtest.conf
+${RSPAMD_LOGGINGTYPE} file
+${RSPAMD_JSON} true
+${RSPAMD_SYSTEMD} true
+${RSPAMD_SCOPE} Test
+
+*** Test Cases ***
+JSON LOGS
+ Rspamd Teardown
+ Check JSON Log ${EXECDIR}/robot-save/rspamd.log.last