From 18711c04c9e6fc6056f79f05598719a112ecbba5 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 10 Oct 2017 12:12:10 +0200 Subject: Make the `simulation` mode logs more obvious --- src/sp_execute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp_execute.c') diff --git a/src/sp_execute.c b/src/sp_execute.c index 014a049..419e56d 100644 --- a/src/sp_execute.c +++ b/src/sp_execute.c @@ -13,7 +13,7 @@ static int (*orig_zend_stream_open)(const char *filename, ZEND_COLD static inline void terminate_if_writable(const char *filename) { if (0 == access(filename, W_OK)) { if (true == SNUFFLEUPAGUS_G(config).config_readonly_exec->simulation) { - sp_log_msg("readonly_exec", SP_LOG_NOTICE, + sp_log_msg("readonly_exec", SP_LOG_SIMULATION, "Attempted execution of a writable file (%s).", filename); } else { sp_log_msg("readonly_exec", SP_LOG_DROP, -- cgit v1.3