MantisBT - Open CASCADE
View Issue Details
0031037Open CASCADE[OCCT] OCCT:Foundation Classespublic2019-10-05 23:282019-11-29 11:41
kgv 
apn 
normalfeature 
verifiedfixed 
 
[OCCT] 7.5.0* 
Not needed
0031037: Foundation Classes - add class Message_PrinterSystemLog for printing messages into system log
Sometimes it is useful writing messages into system log instead of console or application message log. One of use cases is Android platform, where console output (std::cout / std::cerr) goes nowhere or GUI applications in Windows.

New class Message_PrinterSystemLog can be used for logging messages into system log for debugging application in restricted environment.
N/A
No tags attached.
png draw_sys_log.png (34,769) 2019-10-05 23:33
https://tracker.dev.opencascade.org/
png draw_syslog_linux.png (66,754) 2019-10-06 00:13
https://tracker.dev.opencascade.org/
Issue History
2019-10-05 23:28kgvNew Issue
2019-10-05 23:28kgvAssigned To => abv
2019-10-05 23:33kgvFile Added: draw_sys_log.png
2019-10-05 23:37gitNote Added: 0087878
2019-10-06 00:09gitNote Added: 0087879
2019-10-06 00:13kgvFile Added: draw_syslog_linux.png
2019-10-06 00:33kgvNote Added: 0087880
2019-10-06 00:33kgvStatusnew => resolved
2019-10-08 06:26abvNote Added: 0087933
2019-10-08 06:26abvAssigned Toabv => bugmaster
2019-10-08 06:26abvStatusresolved => reviewed
2019-10-20 21:35apnNote Added: 0088368
2019-10-20 21:36apnTest case number => Not needed
2019-10-20 21:36apnAssigned Tobugmaster => kgv
2019-10-20 21:36apnStatusreviewed => assigned
2019-10-21 09:44gitNote Added: 0088375
2019-10-21 09:45kgvNote Added: 0088376
2019-10-21 09:45kgvAssigned Tokgv => bugmaster
2019-10-21 09:45kgvStatusassigned => resolved
2019-10-21 09:45kgvStatusresolved => reviewed
2019-10-21 09:45kgvNote Edited: 0088376bug_revision_view_page.php?bugnote_id=88376#r22093
2019-10-22 14:05gitNote Added: 0088418
2019-10-23 01:07apnChangeset attached => occt master a6a66c3a
2019-10-23 01:07apnAssigned Tobugmaster => apn
2019-10-23 01:07apnStatusreviewed => verified
2019-10-23 01:07apnResolutionopen => fixed
2019-10-23 11:51gitNote Added: 0088481
2019-11-29 11:41kgvRelationship addedparent of 0031206

Notes
(0087878)
git   
2019-10-05 23:37   
Branch CR31037 has been created by kgv.

SHA-1: 30db93d068a50d2f24e8d20473457fdfb3b076be


Detailed log of new commits:

Author: kgv
Date: Sat Oct 5 23:34:35 2019 +0300

    0031037: Foundation Classes - add class Message_PrinterSystemLog for printing messages into system log
(0087879)
git   
2019-10-06 00:09   
Branch CR31037 has been updated forcibly by kgv.

SHA-1: c9b7c9b3b58270afdacb97ab53af45b06a712bd2
(0087880)
kgv   
2019-10-06 00:33   
Patch is ready for review.
(0087933)
abv   
2019-10-08 06:26   
No remarka, please integrate
(0088368)
apn   
2019-10-20 21:35   
There are following compilation errors:

Ubuntu-1604-32/64-Android-opt:
/dn54/builds/IR-2019-10-20_IR-2019-10-20/Ubuntu-1604-32-Android-opt/OCCT/src/Message/Message_PrinterSystemLog.cxx:128: error: undefined reference to '__android_log_write'
/dn54/builds/IR-2019-10-20_IR-2019-10-20/Ubuntu-1604-32-Android-opt/OCCT/src/Message/Message_PrinterSystemLog.cxx:150: error: undefined reference to '__android_log_write'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)

Windows-32/64-VC14-uwp:
http://jenkins-test-08.nnov.opencascade.com/view/IR-2019-10-20_IR-2019-10-20/view/OCCT%20compile/job/IR-2019-10-20_IR-2019-10-20-OCCT-Windows-32-VC14-uwp-opt-compile/1/parsed_console/ [^]
http://jenkins-test-08.nnov.opencascade.com/view/IR-2019-10-20_IR-2019-10-20/view/OCCT%20compile/job/IR-2019-10-20_IR-2019-10-20-OCCT-Windows-64-VC14-uwp-opt-compile/1/parsed_console/ [^]
(0088375)
git   
2019-10-21 09:44   
Branch CR31037 has been updated by kgv.

SHA-1: 8518f9e8e09ceee7326716512b7844545e3cc976


Detailed log of new commits:

Author: kgv
Date: Mon Oct 21 09:43:14 2019 +0300

    # Add -log to TKernel dependencies on Android.
    # Handle OCCT_UWP within Message_PrinterSystemLog.

(0088376)
kgv   
2019-10-21 09:45   
Please check building of updated patch on Android and UWP.

(0088418)
git   
2019-10-22 14:05   
Branch CR31037 has been updated forcibly by apn.

SHA-1: 501195f46349e4bb5546d32f9d0706df6a6fe8d1
(0088481)
git   
2019-10-23 11:51   
Branch CR31037 has been deleted by kgv.

SHA-1: 501195f46349e4bb5546d32f9d0706df6a6fe8d1