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

8 vues (au cours des 30 derniers jours)
Sietse
Sietse le 29 Août 2016
Commenté : Sietse le 12 Sep 2016
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 commentaires
lei yang
lei yang le 12 Sep 2016
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 le 12 Sep 2016
???

Connectez-vous pour commenter.

Réponses (2)

Kevin Gurney
Kevin Gurney le 7 Sep 2016
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 commentaire
Sietse
Sietse le 8 Sep 2016
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.

Connectez-vous pour commenter.


lei yang
lei yang le 12 Sep 2016
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

Catégories

En savoir plus sur Install Products dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by