JPPF Issue Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
CLOSED  Bug report JPPF-424  -  Redirection of System.out and System.err is not working for drivers
Posted Nov 23, 2015 - updated Nov 24, 2015
icon_info.png This issue has been closed with status "Closed" and resolution "RESOLVED".
Issue details
  • Type of issue
    Bug report
  • Status
     
    Closed
  • Assigned to
     lolo4j
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     lolo4j
  • Owned by
    Not owned by anyone
  • Category
    Server
  • Resolution
    RESOLVED
  • Priority
    Normal
  • Reproducability
    Always
  • Severity
    Normal
  • Targetted for
    icon_milestones.png JPPF 5.1.1
Issue description
When setting, in a driver configuration, the "jppf.redirect.out" and "jppf.redirect.err" properties to redirect the System.xxx streams to the specified files, the redirection does not happen.

This is because the stream redirection plugin is implemented as an InitializationHook, which is only a node feature. A fix in the driver would be to instantiate the hook directly, i.e. by calling new OutputRedirectHook().initializing(config), instead of using the SPI mechanism as in the node
Steps to reproduce this issue
See description.

#9
Comment posted by
 lolo4j
Nov 24, 07:13
Fixed in: