Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
imagej-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
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
imagej-elphel
Commits
95e25fcc
Commit
95e25fcc
authored
Jun 21, 2026
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added logging
parent
571ef32e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
QuadCLTCPU.java
...main/java/com/elphel/imagej/tileprocessor/QuadCLTCPU.java
+8
-4
TwoQuadCLT.java
...main/java/com/elphel/imagej/tileprocessor/TwoQuadCLT.java
+5
-0
No files found.
src/main/java/com/elphel/imagej/tileprocessor/QuadCLTCPU.java
View file @
95e25fcc
...
...
@@ -5762,16 +5762,20 @@ LogTee.install(); // once, early
LogTee.setSceneLog(path); // when you want to start per‑scene logging
LogTee.clearSceneLog(); // stop per‑scene logging
*/
public
void
startLogging
()
{
String
x3d_path
=
getX3dTopDirectory
();
Path
log_path
=
Paths
.
get
(
x3d_path
).
resolve
(
getImageName
()+
SYSTEM_OUT_LOG_SUFFIX
);
public
static
void
startLogging
(
Path
log_path
)
{
try
{
LogTee
.
setSceneLog
(
log_path
);
}
catch
(
IOException
e
)
{
System
.
err
.
println
(
"startLogging(): failed to start logging to "
+
x3d_path
);
System
.
err
.
println
(
"startLogging(): failed to start logging to "
+
log_path
.
toString
()
);
}
// when you want to start per‑scene logging
System
.
out
.
println
(
"\n***** STARTING LOGGING: "
+
(
new
SimpleDateFormat
(
"yyyy/MM/dd HH:mm:ss"
).
format
(
Calendar
.
getInstance
().
getTime
())+
" *****\n"
));
}
public
void
startLogging
()
{
String
x3d_path
=
getX3dTopDirectory
();
Path
log_path
=
Paths
.
get
(
x3d_path
).
resolve
(
getImageName
()+
SYSTEM_OUT_LOG_SUFFIX
);
startLogging
(
log_path
);
}
public
void
stopLogging
()
{
...
...
src/main/java/com/elphel/imagej/tileprocessor/TwoQuadCLT.java
View file @
95e25fcc
...
...
@@ -9232,6 +9232,10 @@ if (debugLevel > -100) return true; // temporarily !
if
(
model_paths
.
length
>
0
)
{
for
(
int
i
=
0
;
i
<
model_paths
.
length
;
i
++)
{
System
.
out
.
println
(
"Processing model directory: "
+
model_paths
[
i
]);
Path
log_path
=
Paths
.
get
(
model_paths
[
i
]).
resolve
(
"RT"
+
QuadCLTCPU
.
SYSTEM_OUT_LOG_SUFFIX
);
if
(
LogTee
.
getSceneLog
()==
null
)
{
QuadCLTCPU
.
startLogging
(
log_path
);
}
// check if *-CUAS
CuasDetectRT
cuasDetectRT
=
new
CuasDetectRT
(
clt_parameters
,
// CLTParameters clt_parameters,
...
...
@@ -9249,6 +9253,7 @@ if (debugLevel > -100) return true; // temporarily !
}
}
System
.
out
.
println
(
"nseq="
+
nseq
);
LogTee
.
clearSceneLog
();
// stop per‑scene logging
}
}
break
;
...
...
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