Hi, all!
I need create log file in my project. Is there any standard way to do that,
or is there any good logger class you know?
Thanks a lot 7 3014
have a look at codeproject.org there are lots of samples.
"Aleksey" <al************@il.quest.com> schrieb im Newsbeitrag
news:uZ**************@tk2msftngp13.phx.gbl... Hi, all!
I need create log file in my project. Is there any standard way to do
that, or is there any good logger class you know?
Thanks a lot
"Aleksey" <al************@il.quest.com> wrote: Hi, all!
I need create log file in my project. Is there any standard way to do that, or is there any good logger class you know?
System.Diagnostics.Trace
?
Sergei
Aleksey wrote: Hi, all!
I need create log file in my project. Is there any standard way to do that, or is there any good logger class you know?
Thanks a lot
look at Log4Net: http://logging.apache.org/log4net/
but despite it's extensibility it's pretty limited in the amount of
information you can log.
I like DotNetLog from the Object Guy: http://www.theobjectguy.com/dotnetlog/. It is a good balance of a low
learning curve, easy implementation, and enough functionality to get
the job done. The API makes sense, too. If you are going to use other
parts of the Enterprise Library from Microsoft, then you should look at
that framework. I have found it much more complex without any added
benefits (for my applications).
Hello
We create a singleton logger component and which writes to the log only once.
let me know if u are interested
"sd*****@cornercap.com" wrote: I like DotNetLog from the Object Guy: http://www.theobjectguy.com/dotnetlog/. It is a good balance of a low learning curve, easy implementation, and enough functionality to get the job done. The API makes sense, too. If you are going to use other parts of the Enterprise Library from Microsoft, then you should look at that framework. I have found it much more complex without any added benefits (for my applications).
Hi Al...,
If u are developing project based on .net then go for log4net. http://logging.apache.org/log4net/
for jave ppl, its log4J http://supportweb.cs.bham.ac.uk/docu...g4j/log4j.html
Regards,
DB
"Aleksey" <al************@il.quest.com> wrote in message
news:uZ**************@tk2msftngp13.phx.gbl... Hi, all!
I need create log file in my project. Is there any standard way to do that, or is there any good logger class you know?
Thanks a lot
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Nermin Brgulja |
last post by:
Hi,
I am using jdk1.4 Logger with a FileHandler for logging in a web
application, and have two questions regarding logging:
The first question is:
I've created an Logger and mapped it to an...
|
by: Laszlo |
last post by:
Hi
I need a GL::Logger wich implements Class::Singleton
to be a singleton and Log::Log4perl to can log amy
message into a file. Here is the module source:...
|
by: Robert |
last post by:
Hi all
I have been trying to set up a framework with logging implemented using
the built in Python logging module. For better or worse, I have decided
to base the logger names on the module...
|
by: rodsatt |
last post by:
Hi,
This is my first post, and I got questions about logging.
When something happen within an object, and if I would like to log the event, what would be a good way to do it?
1. I make the...
|
by: Gary Jefferson |
last post by:
Suppose I have 3 modules that belong to a project, 'A', 'A.a' and 'B',
and each module has its own logger, created with:
module1logger = logging.getLogger('project.A')
and
module2logger =...
|
by: CedricCicada |
last post by:
Greetings!
I want to write messages into the Windows event log. I found
sevicemanager, but the source is always "Python Service", and I'd like
to be a bit more descriptive. Poking around on...
|
by: garyjefferson123 |
last post by:
Suppose I have some sort of context variable that I want to appear in
log messages. E.g.:
logger = logging.getLogger("somelogger")
class SomeOp:
def __init__(self, ctx):
self.ctx = ctx
def...
|
by: DwBear75 |
last post by:
I am hoping to find some simple examples of how to create a logger
instance using smtphandler. I don't want to create a separate ini
file. I just want to sent the smtphost, from, to right in the...
|
by: nagk9 |
last post by:
Hi ,
I am using log4j in my application. I have the problem with log4j.properties file . It will automatically appends another logger file from the current logger which i am using for the...
|
by: Matimus |
last post by:
Yes but in the other hand :http://docs.python.org/library/logging.html#logger-objects
That is part of the power of the logging module. If you ask for a
logger of the same name in two different...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |