Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-web-393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-web-393
Commits
ccba3e2b
Commit
ccba3e2b
authored
Mar 30, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
camogm debug file with debug level enabled
parent
e876c1b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
eyesis4pi_interface.php
src/eyesis4pi/eyesis4pi_interface.php
+13
-1
No files found.
src/eyesis4pi/eyesis4pi_interface.php
View file @
ccba3e2b
...
...
@@ -50,7 +50,19 @@ switch($cmd){
echo
$res
;
break
;
case
"camogm_debug"
:
exec
(
"echo 'debug=/tmp/camogm.log;debuglev=6' > /var/state/camogm_cmd"
);
if
(
isset
(
$_GET
[
'debuglev'
])){
$debuglev
=
$_GET
[
'debuglev'
];
}
else
{
$debuglev
=
3
;
}
if
(
isset
(
$_GET
[
'debug'
])){
$debug
=
$_GET
[
'debug'
];
}
else
{
$debug
=
"/tmp/camogm.log"
;
}
exec
(
"echo 'debug=
$debug
;debuglev=
$debuglev
' > /var/state/camogm_cmd"
);
echo
"
$cmd
ok"
;
break
;
case
"camogm_kill"
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment