mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Merge branch '0000-minor-fix-migrate-logs' into 'develop'
Minor fix migrate_logs.pl no ticket See merge request artica/pandorafms!1622
This commit is contained in:
commit
0873d7dd1d
@ -149,7 +149,7 @@ if ( (defined($pa_config{'logstash_host'}) && $pa_config{'logstash_host'} ne ''
|
|||||||
|
|
||||||
if(! defined($pa_config{'migration_socket'})) {
|
if(! defined($pa_config{'migration_socket'})) {
|
||||||
logger(\%pa_config, "Failed to connect to LogStash server at " . $pa_config{'logstash_host'}, 1);
|
logger(\%pa_config, "Failed to connect to LogStash server at " . $pa_config{'logstash_host'}, 1);
|
||||||
return;
|
exit 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
recursive_file_apply(\%pa_config, $dbh, \&migrate_log,$pa_config{'log_dir'});
|
recursive_file_apply(\%pa_config, $dbh, \&migrate_log,$pa_config{'log_dir'});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user