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

4 次查看(过去 30 天)
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

请先登录,再进行评论。

回答(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

类别

Help CenterFile Exchange 中查找有关 Install Products 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by