LISTSERV mailing list manager LISTSERV 16.5

Help for QSERV-L Archives


QSERV-L Archives

QSERV-L Archives


QSERV-L@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

QSERV-L Home

QSERV-L Home

QSERV-L  February 2014

QSERV-L February 2014

Subject:

Re: Logger class

From:

Serge Monkewitz <[log in to unmask]>

Reply-To:

General discussion for qserv (LSST prototype baseline catalog)

Date:

Tue, 4 Feb 2014 18:17:25 -0800

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (20 lines)

On Feb 4, 2014, at 5:04 PM, Daniel L. Wang <[log in to unmask]> wrote:

> Hello,
> 
> I was looking over the Logger class and was wondering if anyone had any objections to moving the declaration of some of Logger's internal classes (SyncSink, SeverityFilter, LogFilter) from Logger.h into Logger.cc. I'd also like to move the visibility of some of the static fields of Logger (syncSink, syncBuffer, and logStream) into Logger.cc.  All of these seem like pieces that the Logger needs in order to operate, but that clients of Logger really shouldn't be messing with.
> 
> In particular, I'd like to know if Bill (author) or Serge (reviewer) can point out what I missed. Perhaps there is flexibility to be had in exposing those classes/fields in Logger's public interface?

Bill should clarify, but I think the idea was that one should be able to change the destination of log output from the default of std::cout. For that, at least logStream needs to be public, and then perhaps you'd want to be able to make a SyncBuffer (to handle locking writes to that stream for you).

However, I don’t think this part of the code is very well fleshed out, and there are still Helgrind warnings coming out of it. It’s a stop-gap solution while waiting on the log4cpp work (but is nevertheless better than what we had before). With that in mind, I’m OK with removing flexibility and moving moving everything to the implementation file.

Bill?

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

March 2018
February 2018
January 2018
December 2017
August 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use