mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 05:06:35 +00:00
configdb: add some debug infos
git-svn-id: https://svn.fhem.de/fhem/trunk@15788 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d9e085e46d
commit
f7c6f06b94
@ -903,15 +903,18 @@ sub _cfgDB_Migrate() {
|
||||
|
||||
# show database statistics
|
||||
sub _cfgDB_Info($) {
|
||||
my ($configdb_svnId) = @_;
|
||||
$configdb_svnId //= 'unknown';
|
||||
my ($info2) = @_;
|
||||
$info2 //= 'unknown';
|
||||
my ($l, @r, $f);
|
||||
for my $i (1..65){ $l .= '-';}
|
||||
|
||||
push @r, $l;
|
||||
push @r, " configDB Database Information";
|
||||
push @r, $l;
|
||||
push @r, " ".cfgDB_svnId;
|
||||
my $info1 = cfgDB_svnId;
|
||||
$info1 =~ s/# //;
|
||||
push @r, " db :".$info1;
|
||||
push @r, " cmd:".$info2;
|
||||
push @r, $l;
|
||||
push @r, " dbconn: $cfgDB_dbconn";
|
||||
push @r, " dbuser: $cfgDB_dbuser" if !$configDB{attr}{private};
|
||||
|
Loading…
x
Reference in New Issue
Block a user