aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lua/lua_logger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/lua_logger.c b/src/lua/lua_logger.c
index 8c5341096..25dc07712 100644
--- a/src/lua/lua_logger.c
+++ b/src/lua/lua_logger.c
@@ -158,8 +158,8 @@ lua_common_log_line (GLogLevelFlags level, lua_State *L,
p++;
}
- if (strlen (p) > 20) {
- rspamd_snprintf (func_buf, sizeof (func_buf), "%10s...]:%d", p,
+ if (strlen (p) > 30) {
+ rspamd_snprintf (func_buf, sizeof (func_buf), "%27s...:%d", p,
d.currentline);
}
else {