How to reduce the logging to /var/log/syslog in Linux?

조회 수: 4 (최근 30일)
Sietse
Sietse 2016년 8월 29일
댓글: Sietse 2016년 9월 12일
When using the image aquisition toolbox and a gige-adapter there is a lot of logging in several /var/log files under Linux (ubuntu). For example:
Aug 29 14:24:45 fwn-nb4-16-202 MATLAB: MATLAB:IMAQ: In getConstProperties at line 151 this = 0x7f44d2a85b80, _currentSource = NewSource
Aug 29 14:24:45 fwn-nb4-16-202 MATLAB: MATLAB:IMAQ: Entering ~GVCPNet
Aug 29 14:24:45 fwn-nb4-16-202 MATLAB: MATLAB:IMAQ: Exiting ~GVCPNet
Aug 29 14:24:45 fwn-nb4-16-202 MATLAB: MATLAB:IMAQ: In getMin at line 291 Width 2
Aug 29 14:24:45 fwn-nb4-16-202 MATLAB: MATLAB:IMAQ: In getMax at line 279 Width 798
I need to stop this logging or at least reduce it significantly. How can this be done?
I'm running R2016a.
Thanks in advance
  댓글 수: 2
lei yang
lei yang 2016년 9월 12일
10/0/24/15/8 7/24/20/16/11 8/0/12/3/23 20/15/9/21/8 22/24/17/9/0 10/2/2/23/3 21/6/4/18/5 16/20/12/11/9 18/0/12/21/0 23/6/8/17/24
Sietse
Sietse 2016년 9월 12일
???

댓글을 달려면 로그인하십시오.

답변 (2개)

Kevin Gurney
Kevin Gurney 2016년 9월 7일
My understanding is that you would like to modify the logging behavior of the Image Acquisition Toolbox to the /var/log/syslog directory on Ubuntu Linux.
Refer to the documentation pages for the Image Acquisition Toolbox linked below for information about modifying the logging parameters to suit you needs:
  댓글 수: 1
Sietse
Sietse 2016년 9월 8일
Thanks for the answer, but this is about the logging of the acquired data. There also is a separate lower-level logging to /var/log/syslog that is not mentioned in these pages. However, I now have enough room on /var so that it's no problem anymore.

댓글을 달려면 로그인하십시오.


lei yang
lei yang 2016년 9월 12일
10/0/24/15/8 7/24/20/16/11 8/0/12/3/23 20/15/9/21/8 22/24/17/9/0 10/2/2/23/3 21/6/4/18/5 16/20/12/11/9 18/0/12/21/0 23/6/8/17/24

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by