showfine opened a new issue, #8217:
URL: https://github.com/apache/seatunnel/issues/8217

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
    I found an issue in the doGet method of the 
org.apache.seatunnel.engine.server.rest.servlet.AllNodeLogServlet class in the 
seatunnel-engine-server module. In the switch statement for handling different 
log formats, when the formatType is JSON, it incorrectly calls the 
allNodeLogFormatHtml method instead of the correct allNodeLogFormatJson method.
   
   ### SeaTunnel Version
   
   latest dev version
   
   ### SeaTunnel Config
   
   ```conf
   irrelevant
   ```
   
   
   ### Running Command
   
   ```shell
   irrelevant
   ```
   
   
   ### Error Exception
   
   ```log
   If not fixed, the engine-ui will be unable to correctly retrieve and display 
log information, particularly when JSON format is requested. This will result 
in logs not being properly formatted or visible in the user interface, 
disrupting the expected functionality.
   ```
   
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@seatunnel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to