We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ef9712 commit 4c6dc04Copy full SHA for 4c6dc04
addon_files/redmatic/www/log.cgi
@@ -9,7 +9,17 @@ if {[info exists sid] && [check_session $sid]} {
9
10
catch {exec /usr/local/addons/redmatic/bin/redmaticVersions} result
11
puts $result
12
- catch {exec cat /var/log/messages.0 /var/log/messages | grep node-red\\|redmatic} result
+ puts ""
13
+ if {[file exists /usr/local/addons/redmatic/var/pkg-update.log]} {
14
+ catch {exec cat /usr/local/addons/redmatic/var/pkg-update.log} result
15
+ puts $result
16
17
+ }
18
+ if {[file exists /var/log/messages.0]} {
19
+ catch {exec cat /var/log/messages.0 | grep node-red\\|redmatic } result
20
21
22
+ catch {exec cat /var/log/messages | grep node-red\\|redmatic} result
23
24
exit 0
25
} else {
0 commit comments