mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
Firewall / Aliases - change log level on geoip download to notice (it's message, not an error)
This commit is contained in:
parent
fcef2d65d2
commit
3c59ca1269
@ -175,7 +175,7 @@ class Alias(object):
|
||||
if (time.time() - fstat.st_mtime) < (86400 - 90):
|
||||
do_update = False
|
||||
if do_update:
|
||||
syslog.syslog(syslog.LOG_ERR, 'geoip updated (files: %(file_count)d lines: %(address_count)d)' % geoip.download_geolite())
|
||||
syslog.syslog(syslog.LOG_NOTICE, 'geoip updated (files: %(file_count)d lines: %(address_count)d)' % geoip.download_geolite())
|
||||
|
||||
for proto in self._proto.split(','):
|
||||
geoip_filename = "/usr/local/share/GeoIP/alias/%s-%s" % (geoitem, proto)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user