
Dear users, I recently updated yt to the latest verison, and now when I run it in an ipython notebook I get obscene amounts of yt: INFO and yt: WARNING messages. So many that it actually hangs some analysis loops I'm running. How do I turn this output off? Sample from loading a file: yt : [INFO ] 2015-05-11 16:01:16,453 integer runtime parameter checkpointfilenumber overwrites a simulation scalar of the same name yt : [INFO ] 2015-05-11 16:01:16,455 integer runtime parameter particlefilenumber overwrites a simulation scalar of the same name yt : [INFO ] 2015-05-11 16:01:16,456 integer runtime parameter plotfilenumber overwrites a simulation scalar of the same name yt : [INFO ] 2015-05-11 16:01:16,512 Parameters: current_time = 1.80820359458e+12 yt : [INFO ] 2015-05-11 16:01:16,514 Parameters: domain_dimensions = [8 8 8] yt : [INFO ] 2015-05-11 16:01:16,516 Parameters: domain_left_edge = [ -1.29093000e+17 -1.29093000e+17 -1.29093000e+17] yt : [INFO ] 2015-05-11 16:01:16,517 Parameters: domain_right_edge = [ 1.29093000e+17 1.29093000e+17 1.29093000e+17] yt : [INFO ] 2015-05-11 16:01:16,519 Parameters: cosmological_simulation = 0.0 Any assistance is greatly appreciated. I checked the docs, but I was unable to find a way to pass to yt the configuration option which I suspect is the problem, namely one: suppressStreamLogging. Cordially, Joshua Wall Drexel University _______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org

You need to create a config file at ~/.yt/config. Here's a sample one: [yt] suppressStreamLogging = True You can also do this on a script-by-script basis by setting the log level: http://yt-project.org/docs/dev/faq/index.html?highlight=log%20level#how-can-... On Mon, May 11, 2015 at 1:06 PM, Joshua Wall <joshua.e.wall@gmail.com> wrote:
Dear users,
I recently updated yt to the latest verison, and now when I run it in an ipython notebook I get obscene amounts of yt: INFO and yt: WARNING messages. So many that it actually hangs some analysis loops I'm running. How do I turn this output off?
Sample from loading a file:
yt : [INFO ] 2015-05-11 16:01:16,453 integer runtime parameter checkpointfilenumber overwrites a simulation scalar of the same name yt : [INFO ] 2015-05-11 16:01:16,455 integer runtime parameter particlefilenumber overwrites a simulation scalar of the same name yt : [INFO ] 2015-05-11 16:01:16,456 integer runtime parameter plotfilenumber overwrites a simulation scalar of the same name yt : [INFO ] 2015-05-11 16:01:16,512 Parameters: current_time = 1.80820359458e+12 yt : [INFO ] 2015-05-11 16:01:16,514 Parameters: domain_dimensions = [8 8 8] yt : [INFO ] 2015-05-11 16:01:16,516 Parameters: domain_left_edge = [ -1.29093000e+17 -1.29093000e+17 -1.29093000e+17] yt : [INFO ] 2015-05-11 16:01:16,517 Parameters: domain_right_edge = [ 1.29093000e+17 1.29093000e+17 1.29093000e+17] yt : [INFO ] 2015-05-11 16:01:16,519 Parameters: cosmological_simulation = 0.0
Any assistance is greatly appreciated. I checked the docs, but I was unable to find a way to pass to yt the configuration option which I suspect is the problem, namely one: suppressStreamLogging.
Cordially,
Joshua Wall Drexel University
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org

Ah, I see it was at the top of that web page... I was there but skipped right over that. Thanks very much. On Mon, May 11, 2015 at 4:09 PM Nathan Goldbaum <nathan12343@gmail.com> wrote:
You need to create a config file at ~/.yt/config.
Here's a sample one:
[yt] suppressStreamLogging = True
You can also do this on a script-by-script basis by setting the log level:
http://yt-project.org/docs/dev/faq/index.html?highlight=log%20level#how-can-...
On Mon, May 11, 2015 at 1:06 PM, Joshua Wall <joshua.e.wall@gmail.com> wrote:
Dear users,
I recently updated yt to the latest verison, and now when I run it in an ipython notebook I get obscene amounts of yt: INFO and yt: WARNING messages. So many that it actually hangs some analysis loops I'm running. How do I turn this output off?
Sample from loading a file:
yt : [INFO ] 2015-05-11 16:01:16,453 integer runtime parameter checkpointfilenumber overwrites a simulation scalar of the same name yt : [INFO ] 2015-05-11 16:01:16,455 integer runtime parameter particlefilenumber overwrites a simulation scalar of the same name yt : [INFO ] 2015-05-11 16:01:16,456 integer runtime parameter plotfilenumber overwrites a simulation scalar of the same name yt : [INFO ] 2015-05-11 16:01:16,512 Parameters: current_time = 1.80820359458e+12 yt : [INFO ] 2015-05-11 16:01:16,514 Parameters: domain_dimensions = [8 8 8] yt : [INFO ] 2015-05-11 16:01:16,516 Parameters: domain_left_edge = [ -1.29093000e+17 -1.29093000e+17 -1.29093000e+17] yt : [INFO ] 2015-05-11 16:01:16,517 Parameters: domain_right_edge = [ 1.29093000e+17 1.29093000e+17 1.29093000e+17] yt : [INFO ] 2015-05-11 16:01:16,519 Parameters: cosmological_simulation = 0.0
Any assistance is greatly appreciated. I checked the docs, but I was unable to find a way to pass to yt the configuration option which I suspect is the problem, namely one: suppressStreamLogging.
Cordially,
Joshua Wall Drexel University
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
_______________________________________________ yt-users mailing list yt-users@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
participants (2)
-
Joshua Wall
-
Nathan Goldbaum