LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Output to stardard output

    Employee
    Posted 03-12-2007 10:56

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: skim

    When integrating BRAIN graphs with VCDR Batch Manager, the standard output from executing BRX file is redirected into a log file inside a directory where all other log files for VCDR batch jobs reside. The log files are named using:

    log_name.log.YYYY-MM-DD_HH_MI_SS#JOBID

    If it weren't for the seconds (and minutes) portion of the log file name, I could probably hack it and generate the log file name and append to the file. HoweIs there any way in BRE/BRAIN to generate such info to standard output short of writing yet another python node to just be able to print a message to stardard output?

    [t. It needs to output to standard output of parent node (root node?).[/b][/i]<br><br>Post edited by: skim, at: 2007/03/12 14:11


  • 2.  RE: Output to stardard output

    Employee
    Posted 03-12-2007 15:48

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: rboccuzzi

    The output from brainController is structured and controlled, and is suppose to only tell you the start of the graph, end of graph, and start and end of each node, as it does.

    There is more information in the brdlog (-brdlog) that you can get from the controller, and from there, you can get the name of the error log for each node, which would give you the stderr output and any logged messages (logInfo, logMedium, logHigh, logLow) from python nodes.

    Hope this helps!
    Rich Boccuzzi


  • 3.  RE: Output to stardard output

    Employee
    Posted 03-18-2007 11:26

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: skim

    Perhaps I'm going about this in a wrong way. One of the main reason why I needed to print to "standard output" was to generate some information needed to figure out what went wrong.

    The problem was, whenever a "Execute BRX" node is used, the controller log stops at "Execute BRX started" and nothing comes back until "Execute BRX" returns. Would it be possible to relay the log from BRX file being executed to let the executing graph what's going on with the BRX execution?