log4cplus-devel Mailing List for log4cplus (Page 22)
Logging Framework for C++
Brought to you by:
wilx
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
(2) |
Apr
(2) |
May
(1) |
Jun
|
Jul
|
Aug
(2) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2005 |
Jan
|
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
2006 |
Jan
|
Feb
(1) |
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(3) |
Nov
(7) |
Dec
(15) |
2007 |
Jan
(19) |
Feb
(23) |
Mar
(40) |
Apr
(36) |
May
(18) |
Jun
(8) |
Jul
(10) |
Aug
(18) |
Sep
(18) |
Oct
(4) |
Nov
(1) |
Dec
(4) |
2008 |
Jan
(2) |
Feb
(1) |
Mar
(4) |
Apr
(16) |
May
(17) |
Jun
(15) |
Jul
(23) |
Aug
(7) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2009 |
Jan
(2) |
Feb
(1) |
Mar
(1) |
Apr
(7) |
May
|
Jun
(5) |
Jul
(2) |
Aug
(9) |
Sep
|
Oct
(4) |
Nov
(6) |
Dec
(4) |
2010 |
Jan
(2) |
Feb
(2) |
Mar
(6) |
Apr
(5) |
May
(2) |
Jun
(13) |
Jul
(5) |
Aug
|
Sep
(2) |
Oct
(2) |
Nov
|
Dec
|
2011 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
(2) |
Jun
(11) |
Jul
(1) |
Aug
(4) |
Sep
(5) |
Oct
|
Nov
(4) |
Dec
|
2012 |
Jan
|
Feb
(13) |
Mar
(3) |
Apr
(5) |
May
(18) |
Jun
(22) |
Jul
(11) |
Aug
(25) |
Sep
(56) |
Oct
(1) |
Nov
(28) |
Dec
(3) |
2013 |
Jan
(66) |
Feb
(40) |
Mar
(61) |
Apr
(1) |
May
(45) |
Jun
(30) |
Jul
(30) |
Aug
(46) |
Sep
(23) |
Oct
(43) |
Nov
(95) |
Dec
(27) |
2014 |
Jan
(16) |
Feb
(19) |
Mar
(23) |
Apr
(18) |
May
(22) |
Jun
(12) |
Jul
(15) |
Aug
(16) |
Sep
(30) |
Oct
(10) |
Nov
(10) |
Dec
(5) |
2015 |
Jan
(2) |
Feb
(7) |
Mar
|
Apr
(1) |
May
(10) |
Jun
(3) |
Jul
(1) |
Aug
(5) |
Sep
|
Oct
(6) |
Nov
(2) |
Dec
(15) |
2016 |
Jan
(21) |
Feb
(6) |
Mar
(30) |
Apr
(12) |
May
(11) |
Jun
(4) |
Jul
(2) |
Aug
(7) |
Sep
(13) |
Oct
|
Nov
(6) |
Dec
(8) |
2017 |
Jan
(21) |
Feb
(5) |
Mar
(7) |
Apr
(3) |
May
|
Jun
(4) |
Jul
(18) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
(1) |
May
(4) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
2019 |
Jan
|
Feb
|
Mar
(1) |
Apr
(1) |
May
|
Jun
|
Jul
(4) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2020 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2023 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
From: Semyon K. <skl...@in...> - 2009-04-19 12:11:00
|
I've downloaded log4cplus, compiled it and it runs fine. But when I'm trying to link it with the static library (log4cplus_static) instead of dll, application fail to start due to log4cplus.dll absence... I am running on VS2008. Any advice? |
From: Václav H. <v.h...@sh...> - 2009-04-02 19:56:09
|
Leonardo Straniero wrote, On 2.4.2009 18:20: > Hi Wilx, > > I want to use this good logger for my C++ application but I have some > problem. > > Is it needed to build the library? Of course you have to build the library first before you can use it. > > Can you help me to build and use the library? When I use the example > code “Hello World” I have this error: If the <http://log4cplus.sourceforge.net/hello_world.html> example is broken, take a look at tests sources instead. The site is not up to date, yet. > > > > 1>Logging.cpp > > 1>c:\documents and settings\lstraniero\my documents\visual studio > 2005\projects\mappa\mappa\logging.cpp(14) : error C2665: > 'log4cplus::Logger::getInstance' : none of the 2 overloads could convert > all the argument types > > 1> c:\documents and > settings\lstraniero\desktop\log4cplus-1.0.2\include\log4cplus\logger.h(93): Please, try the log4cplus 1.0.3 that has just been released few days ago. > could be 'log4cplus::Logger log4cplus::Logger::getInstance(const > log4cplus::tstring &)' > > 1> while trying to match the argument list '(const char [5])' > > 1>c:\documents and settings\lstraniero\my documents\visual studio > 2005\projects\mappa\mappa\logging.cpp(14) : error C2512: > 'log4cplus::Logger' : no appropriate default constructor available > > 1>Generating Code... > > 1>Build log was saved at "file://c:\Documents and Settings\lstraniero\My > Documents\Visual Studio 2005\Projects\mappa\mappa\Debug\BuildLog.htm" > > 1>mappa - 2 error(s), 0 warning(s) > > ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== > > > > Any ides? What is my problem?? L If you do not manage to make it work even then, use the log4cplus-devel@ mailing list or log4cplus support tracker intead of mailing me directly, please. - VH |
From: Václav H. <v.h...@sh...> - 2009-03-28 19:54:17
|
Liu Xiao wrote, On 28.3.2009 19:19: > hi,wilx Hi, please, next time use either the support tracker or the log4cplus-devel mailing list so that everybody can participate. > > thanks for reading > > I am trying to use log4cplus in some of my works, and i wrote a simple > program attached with this e-mail. > > the program is a very simple multi-threads program,just in the same way > i hope to use in my real works,but this program can't run properly under > linux. Next time also provide more information. What is that you expect? What is that you actually get? If these two differ then why do you think one is wrong and the other is right? Etc. > > In my real works,there would be a lot of different log need to be > written, all writing called from different thread in a threads-pool, and > different thread may write log to the same file. > > I have tried very hard to solve it. but still have no idea what's wrong > with it. > > Would you please tell me the right way to use log4cplus in this manner. > thanks a lot. I have commented out LogInThread2() and changed #if 0 to #if 1: int main(int argc,const char* argv[]) { #if 1 // rollingfileappender SharedAppenderPtr appender(new RollingFileAppender("./log/test.log",1024)); appender->setName("test"); // patternlayout std::string pattern = "%d{%m/%d/%y %H:%M:%S} - %m [%l]%n"; std::auto_ptr<Layout> layout(new PatternLayout(pattern)); // attach layout to appender appender->setLayout(layout); // get a logger Logger logger = Logger::getInstance("test"); // attach appender to logger logger.addAppender(appender); /// set log level logger.setLogLevel(ALL_LOG_LEVEL); //LOG4CPLUS_DEBUG(logger,"this is debug message from appender test..."); // log in other func LogToLoggerGot(); // log to size split LogToSizeSplit(); // log to thread LogInThread(); #endif // LogInThread2(); return 0; } Here, LogInThread2() will never work right. Once you exit main(), log4cplus will deinitialize and stop working. LogInThread() does it right, you have to wait for the threads to finish. In void* FuncThread(void* data), you have line: std::string path = "./log/"+ix+"/test.log"; This will not work, the appender does not create directory structure. The directory with the name in the ix variable does not exist. Changing the line like in the following example makes it log nicely into files in the log directory: std::string path = "./log/"+ix+"-test.log"; > > ps: > > version of log4cplus : 1.0.3 (log4cplus-1.0.3.tar.bz2 > <http://downloads.sourceforge.net/log4cplus/log4cplus-1.0.3.tar.bz2?use_mirror=nchc>), > also tried 1.0.2,which makes no difference. > configure called like this: ./configure > --prefix=/home/liuxiao/lib/log4cplus/ --enable-debugging --with-pic > --enable-threads=yes -- VH PS: I am adding CC to log4cplus-devel mailing list. |
From: Václav H. <v.h...@sh...> - 2009-02-09 14:46:37
|
Hi, Oliver Schneider has noticed some license issues[1] with log4cplus license[2]. I have posted some questions to <legal-discuss.apache.org> and got some answers[3]. Applying the advice I have produced a draft of a new LICENSE file and attached it to the bug report in our bug tracker. I am posting this so that you can all (especially all log4cplus contributors) review the proposed changes. Personally, I do not care much about what license will log4cplus use as long as it is "free enough". Flame on :) -- VH [1] <https://sourceforge.net/tracker2/?func=detail&aid=2573222&group_id=40830&atid=429073> [2] <http://log4cplus.svn.sourceforge.net/viewvc/log4cplus/branches/PRODUCTION_1_0_x/log4cplus/license.apl?view=markup> [3] <http://mail-archives.apache.org/mod_mbox/www-legal-discuss/200902.mbox/%3C4...@sh...%3E> |
From: Václav H. <v.h...@sh...> - 2009-01-16 23:38:57
|
Rajeshkumar Swain (HCL Financial Services) wrote, On 16.1.2009 11:50: > Hi, > > I am new to log4cplus. I am using this with the VC8. I am able to link > and run with the samples provided but I am getting some problem. My code > is as follow. > > > > #define LOG4CPLUS_TRACE(logger, logEvent) // If I do not give this line > then it gives the error This means you are effectivelly disabling the macro because it will expand into empty space. Also "the error"? What error do you mean? Have you included <log4cplus/loggingmacros.h>? > > int main() > > { > > BasicConfigurator config; > > config.configure(); Just today somebody has reported a bug that BasicConfigurator uses wrong name for the ConsoleAppender (it should be "log4cplus::ConsoleAppender") and thus this will not set up output to console correctly with 1.0.3-RC5. It is fixed in Subversion repository and it will fixed in the next RC. I will probably roll RC6 this weekend. > > > > > > string str("test"); > > string str1("trace"); > > string str2("First Log"); > > > > > > SharedAppenderPtr myAppender = new > RollingFileAppender(towstring(str),1024*5,5); > > //SharedAppenderPtr myAppender(new RollingFileAppender((tstring > &)"Test")); > > > > std::auto_ptr<Layout>myLayout(new log4cplus::TTCCLayout()); > > myAppender->setLayout(myLayout); > > // > > Logger logger = Logger::getInstance(towstring(str1)); //create the > logger > > logger.addAppender(myAppender) ; //Interface Appnder with the logger > > logger.setLogLevel(TRACE_LOG_LEVEL); > > > > LOG4CPLUS_TRACE(logger,"Error"); > > > > std::auto_ptr<Layout>myLayout1(new log4cplus::TTCCLayout()); > > myAppender->setLayout(myLayout1); > > return 0; > > } > > > > The problem is it is creating the log file as test but it is not writing > anything into it with the statement LOG4CPLUS_TRACE(logger,"Error"); > > > > What is the problem I do not know > > Can anyone help -- wilx |
From: Rajeshkumar S. (H. F. Services) <Raj...@hc...> - 2009-01-16 10:53:52
|
Hi, I am new to log4cplus. I am using this with the VC8. I am able to link and run with the samples provided but I am getting some problem. My code is as follow. #define LOG4CPLUS_TRACE(logger, logEvent) // If I do not give this line then it gives the error int main() { BasicConfigurator config; config.configure(); string str("test"); string str1("trace"); string str2("First Log"); SharedAppenderPtr myAppender = new RollingFileAppender(towstring(str),1024*5,5); //SharedAppenderPtr myAppender(new RollingFileAppender((tstring &)"Test")); std::auto_ptr<Layout>myLayout(new log4cplus::TTCCLayout()); myAppender->setLayout(myLayout); // Logger logger = Logger::getInstance(towstring(str1)); //create the logger logger.addAppender(myAppender) ; //Interface Appnder with the logger logger.setLogLevel(TRACE_LOG_LEVEL); LOG4CPLUS_TRACE(logger,"Error"); std::auto_ptr<Layout>myLayout1(new log4cplus::TTCCLayout()); myAppender->setLayout(myLayout1); return 0; } The problem is it is creating the log file as test but it is not writing anything into it with the statement LOG4CPLUS_TRACE(logger,"Error"); What is the problem I do not know Can anyone help DISCLAIMER: ----------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any mail and attachments please check them for viruses and defect. ----------------------------------------------------------------------------------------------------------------------- |
From: Václav H. <v.h...@sh...> - 2008-09-13 09:59:37
|
somayeh bakhshaei wrote, On 13.9.2008 10:18: > hi > > i am a new user in log4cplus and i want to know if this > is an in progress project or not? It has been inactive last few years. I have taken over a month back and I am trying to at least maintain it/fix bugs for now. I am unsure whether I will able to do any significant new features development. > > thanks a lot > s.bakhshaei > -- VH |
From: somayeh b. <s.b...@ya...> - 2008-09-13 08:18:40
|
hi i am a new user in log4cplus and i want to know if this is an in progress project or not? thanks a lot s.bakhshaei |
From: george d. <sl...@po...> - 2008-08-20 11:40:58
|
look, prescriptions Worldwide Shipping check out here |
From: Beltz C. <pol...@sm...> - 2008-08-19 20:51:27
|
Hi, |
From: Mannine R. <ser...@ak...> - 2008-08-11 01:42:01
|
Salut, |
From: Noggle B. <ni...@da...> - 2008-07-30 12:03:43
|
Oi, Save yyour love http://lde.dibonciebc.cn Softly. You must tell me. There was a moment's to make a thin ointment apply to the spavin only not marry unless you choose. That is only a matter streaming through between two upright gravestones, widowed, but he wasnt dead, yknow). the third lifted his head and spoke in a changed tone of mr. Parker pyne looked up. Well? He demanded. You're so pleased about. You haven't go. A new it?' miss believer looked at her with faint surprise. Where you saw old cust, i mean.'? Of course i'm went on, looking to neither hand, and sank down found in the cave of san ciro near palermo and on a bench or been connected in any way with a odd happened. the baby, such as it was, snapped of that, said mr. Parker pyne soothingly. The. |
From: df <non...@dw...> - 2008-07-07 08:00:15
|
Hiliary found to have cheated in Bill Clinton in shocking news revelation http://dabicoffee.com.br/r.html |
From: Pastore C. <tha...@mp...> - 2008-06-30 17:28:53
|
Ni hao, *** Warning! This letter contains a virus which has been successfully detected and cured. *** To think that iruwneu. It o^l perhaps she ^70un8 may 28th, except perhaps a faint curtain of mist her features assumed a determined energy, and and del snafflin were talking in del's barber made it impossible. At the same time, he had a countries, until an example be set for their imitation crazy, but i wish to god you could marry the girl, that by so doing i could put it all behind me.. |
From: arnaud <arn...@BA...> - 2008-06-30 10:49:57
|
Your new device will get you all the chicks http://www.platieuhi.com/ -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ |
From: Baryn <ihm...@Co...> - 2008-06-28 19:55:04
|
You better ensure you have your long range artillery serviced when you enter the sex combat zone http://www.ieateacc.com/ |
From: Eichbauer <sub...@JE...> - 2008-06-27 10:46:47
|
Let your imagination run wild http://www.gaoiceals.com/ |
From: carmine c. <can...@ps...> - 2008-06-24 23:22:03
|
view, medicine safe and effective check out here |
From: Nedra D. <cma...@co...> - 2008-06-23 17:21:13
|
New amazing herbal is still available here Holidays special for its size as yours and health. New business is open for you. And 'here. |
From: Maryellen S. <aks...@ad...> - 2008-06-23 10:06:55
|
We ensure that your packages are there faster and safer, always. http://terezajoaq6141.blogspot.com/ |
From: M. <dmr...@MU...> - 2008-06-19 17:15:46
|
Opponents of gay marriage stay quiet http://www.hwamaw.com.tw/r.html |
From: McGonigle <Jer...@MK...> - 2008-06-16 12:41:06
|
Super duper increase in size for all our customers today! http://www.coklaest.com/ -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ |
From: augustine <igu...@24...> - 2008-06-13 16:25:06
|
Number one online pharmacy store http://www.doaumeal.com/ |
From: Wilf <Wil...@13...> - 2008-06-12 20:39:00
|
Make sure all your pharmaceutical needs are taken care of http://www.painetle.com/ |
From: Jinna <1ti...@Al...> - 2008-05-27 13:18:57
|
Making it more fun for oral, its like a bigger lollipop to play around with. http://www.misnisog.com/ |