You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benson Margulies (JIRA)" <ji...@apache.org> on 2011/02/18 14:53:38 UTC

[jira] Created: (CASSANDRA-2192) Daemons should not spew to console

Daemons should not spew to console
----------------------------------

                 Key: CASSANDRA-2192
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2192
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
    Affects Versions: 0.7.2
            Reporter: Benson Margulies
            Priority: Minor


When I start cassandra on MacOSX from command line, it daemonizes, but it still spews log into my current terminal window.

I submit to you that this wrong. If it's going to daemonize, it should just log to a file.


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (CASSANDRA-2192) Daemons should not spew to console

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996463#comment-12996463 ] 

Jonathan Ellis commented on CASSANDRA-2192:
-------------------------------------------

I can confirm that on OS X it prints the normal few lines before daemonizing but afterwards no more.

> Daemons should not spew to console
> ----------------------------------
>
>                 Key: CASSANDRA-2192
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2192
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.2
>            Reporter: Benson Margulies
>            Priority: Minor
>
> When I start cassandra on MacOSX from command line, it daemonizes, but it still spews log into my current terminal window.
> I submit to you that this wrong. If it's going to daemonize, it should just log to a file.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (CASSANDRA-2192) Daemons should not spew to console

Posted by "Brandon Williams (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996421#comment-12996421 ] 

Brandon Williams commented on CASSANDRA-2192:
---------------------------------------------

This sounds like something that can be solved by removing stdout from conf/log4j-server.properties, is that the case?

> Daemons should not spew to console
> ----------------------------------
>
>                 Key: CASSANDRA-2192
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2192
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.2
>            Reporter: Benson Margulies
>            Priority: Minor
>
> When I start cassandra on MacOSX from command line, it daemonizes, but it still spews log into my current terminal window.
> I submit to you that this wrong. If it's going to daemonize, it should just log to a file.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Assigned: (CASSANDRA-2192) Daemons should not spew to console

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis reassigned CASSANDRA-2192:
-----------------------------------------

    Assignee: Eric Evans

It would be nice to reduce the volume logged before daemonizing. I think the thinking was that we want to parse the config file and do a couple other things first so we can give an error on stdout instead of dying silently? But now it's grown to include CL replay for instance which is noisy.

> Daemons should not spew to console
> ----------------------------------
>
>                 Key: CASSANDRA-2192
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2192
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.2
>            Reporter: Benson Margulies
>            Assignee: Eric Evans
>            Priority: Minor
>
> When I start cassandra on MacOSX from command line, it daemonizes, but it still spews log into my current terminal window.
> I submit to you that this wrong. If it's going to daemonize, it should just log to a file.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (CASSANDRA-2192) Daemons should not spew to console

Posted by "Benson Margulies (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12996422#comment-12996422 ] 

Benson Margulies commented on CASSANDRA-2192:
---------------------------------------------

If that's the log conf file that is used without -f, and not with -f, yes.


> Daemons should not spew to console
> ----------------------------------
>
>                 Key: CASSANDRA-2192
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2192
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 0.7.2
>            Reporter: Benson Margulies
>            Priority: Minor
>
> When I start cassandra on MacOSX from command line, it daemonizes, but it still spews log into my current terminal window.
> I submit to you that this wrong. If it's going to daemonize, it should just log to a file.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira