Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We have red output after launching tomcat for the Spring project #3439

Closed
musienko-maxim opened this issue Dec 19, 2016 · 8 comments
Closed
Assignees
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Milestone

Comments

@musienko-maxim
Copy link
Contributor

musienko-maxim commented Dec 19, 2016

[Short description of problem here]

Reproduction Steps:

  1. Create Spring project in the CHE from dashboard
  2. Go to the IDE and launch tomcat using command
    Expected behavior:
    We should have tomcat log in the command output with gray style
    [Describe expected behavior here]
    Observed behavior:
    We have:

download
Che version: 5.0.0-M9
OS and version: Ubuntu 14.0 TLS
Docker version: 1.12.1
Che install: Docker container
Additional information:

@musienko-maxim musienko-maxim added this to the 5.0.0-M9 milestone Dec 19, 2016
@musienko-maxim musienko-maxim added the kind/bug Outline of a bug - must adhere to the bug report template. label Dec 19, 2016
@vkuznyetsov vkuznyetsov added sprint/next status/open-for-dev An issue has had its specification reviewed and confirmed. Waiting for an engineer to take it. team/enterprise labels Dec 20, 2016
@TylerJewell TylerJewell modified the milestones: 5.1.0, 5.0.0-M9 Dec 20, 2016
@tolusha tolusha self-assigned this Dec 22, 2016
@tolusha tolusha added status/in-progress This issue has been taken by an engineer and is under active development. and removed status/open-for-dev An issue has had its specification reviewed and confirmed. Waiting for an engineer to take it. labels Dec 22, 2016
@tolusha
Copy link
Contributor

tolusha commented Dec 23, 2016

It is expected behavior.
By default bare tomcat produces logs into stderr.
We can reconfigure logger to producer logs into stdout.
@skabashnyuk wdyt?

@skabashnyuk
Copy link
Contributor

AFAIK logback configured for stdout + syslog

@tolusha
Copy link
Contributor

tolusha commented Dec 23, 2016

We have 2 choices:

  • keep as is due to default Tomcat behavior
  • redirect stderr to stdout .../catalina.sh run 2>&1 in command to start tomcat

@tolusha
Copy link
Contributor

tolusha commented Dec 23, 2016

@TylerJewell
I need you decision

@TylerJewell
Copy link

If you redirect stderr to stdout is it no longer red? If yes then do this

@tolusha
Copy link
Contributor

tolusha commented Dec 23, 2016

It is no longer red.

@TylerJewell
Copy link

+1

@ghost
Copy link

ghost commented Dec 23, 2016

I am surprised the command is NOT ./catalina.sh run 2>&1 It has been this way since version 3. So, yes, this is the right and cheap way to go.

@tolusha tolusha modified the milestones: 5.0.0, 5.1.0 Dec 23, 2016
@tolusha tolusha added status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. and removed status/in-progress This issue has been taken by an engineer and is under active development. status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. labels Dec 23, 2016
@tolusha tolusha closed this as completed Dec 23, 2016
@bmicklea bmicklea mentioned this issue Jan 13, 2017
70 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template.
Projects
None yet
Development

No branches or pull requests

5 participants