Projects tagged ‘c’ and ‘log’


Jump to tag:

Projects tagged ‘c’ and ‘log’

Filtered by Project Tags c log

Refine results Project Tags logger (5) apache (3) linux (3) logging (3) network (2) freebsd (2) cplusplus (2) .net (2) uptime (1) training (1) tiny (1) info (1)

[17 total ]

1 Users
 

This is useful for monitoring a hosts connectivity. It is good for troubleshooting networking hardware and connection problems alike.
Created 12 months ago.

0 Users

The basic idea is to provide a simple set of primitives for logging functions and method calls at an API boundary, and then taking those logs and executing them to do regression tests. The project ... [More] is currently self contained, but could probably be shrunk dramatically if it were to use boost instead. Currently the project compiles with GCC on OS X, but most of the code was building with Visual Studio at some point in the recent past, so hopefully it wouldn't be too painful to get that working again. The implementation uses a lot of template metaprogramming, and many parts of the code are based on designs in Modern C++ Design. All that being said, it turns out that annotating even the most straightforward of APIs is more work then is desirable, and there are a large number of limitations and requirements on the types that can be passed to and returned by the exposed methods. So this code is more just a proof of concept, rather then a useful tools for other projects to adapt. [Less]
Created 18 days ago.

0 Users

This C# Class can be used to create a LogFile for your .NET-programs. All you have to do, is giving a filename for your Log-File. Now you can write error-,info-Messages or plain text to this file. The error- and info-messages also have a timestamp.
Created 3 months ago.

0 Users

merge bzziped web log
Created 11 months ago.

0 Users

Library of logging classes for .NET
Created 3 months ago.

0 Users

PurposeThis project aims to develop a flexible training log application for desktop use. It is written in C++ with Qt4 libraries, supporting cross platform usage. DetailsThe target audience ... [More] includes runners of all ability levels, and especially those who enjoy varied activity. This program provides a means to track many different types of activities (great for those unfortunate periods of injury), yet maintains a loose focus on running. A jogger, new marathoner, or elite miler should all feel comfortable entering data, for the fields correspond to relevant aspects of daily training. The current version supports a number of basic attributes when describing an activity, including: Date Time Location Route Duration Distance Effort Splits, and Notes While some of these attributes are more suitable for distance oriented activities, this logging application currently categorizes entries into the following: Run Workout Race Bike Cycle Walk Rest Swim Lift Core, and Other Once the data is entered, it is stored in a flexible and open database. By querying this database, the application is able to allow for easy browsing. Furthermore, by employing an enterprise-level database system, this program can powerfully manipulate the result set. This allows the user to filter all logged activities by every attribute or keyword. In addition to this filtering mechanism, the application provides a powerful plotting tool. By default, distance vs. time is plotted for the arbitrary selected set, however an extensive plotting library exists. One can imagine plotting duration or effort vs. time, distance vs. effort, or even duration vs distance vs effort. Integration with an online street map/desktop globe is also provided. This allows a user to accurately calculate a recent run. It is planned that future versions will allow users to save and load custom routes. Such a feature would simplify data entry, and perhaps give greater meaning to the splits of common runs. Technical features Developed with Qt4.4 and gcc C++ XML configuration file SQLite local database MySQL remote database database format well-defined and open to 3rd party interaction therefore, multiple conceivable user interfaces (CLI, QT, GTK) also, web publishing with a LAMP stack Future goals integration into modern, existing technologies, including Facebook generalization of design to minimize running focus generalization of code to allow for greater database support define a split descriptor language for machine parsing [Less]
Created 12 months ago.

0 Users

Apache Module mod_log_slow Overviewmod_log_slow is Apache module to provide measures of the time period used for handling each request by the current process. Logging is done after processing a ... [More] request if the request takes more than certain period of time that you specifiy. The idea of mod_log_slow comes from MySQL's slow-query-log, and its logging logic is partially based on mod_log_forensic and mod_log_config News2009/6/27: version 1.0.6 released modified slow_log format host info: hostname -> hostname:port uri info: path -> reqinfo time format: unixtime -> CLF format or user defined format add LogSlowTimeFormat Directive to support: user defined time format of slow_log. add LogSlowBufferedLogs Directive to support: buffered log flush for better performance. (Only apache2 module supports this) 2009/6/24: migrate svn repository to github 2009/4/4 : version 1.0.5 released add Apache1.3 version of module: mod_log_slow13.c 2009/2/22 : version 1.0.4 released add "EOF" (\n) on fprintf format of debug message ** see also Changelog for more detail DocumentsDownload Build and Install Configuration Directives Logging Format Sample Configuration Source Code AuthorsYoichi Kawasaki [Less]
Created 11 months ago.

0 Users

A small C++ logging libraryGetting StartedYou will need the boost library (at least 1.34.0) you can find it here. For help on how to compile boost: Getting Started. Once boost is compiled, you ... [More] can give it a try by compiling the examples Download the loglite using svn. Go into the folder gcc and follow the instructions supplied in the README file. You're done. Much more is possible thanks to Boost.IOStreams and Boost.Asio. Look at logging_test_iostream.cpp for an example of log compressed on the fly Look at logging_test_iostream_client.cpp and logging_test_iostream_server.cpp for logging through a network. More examples in the trunk Documentationhttp://loglite.googlecode.com/svn/trunk/doc/index.html An exampleSource code// loglite library logging_test_macro.cpp file -----------------------------// // (C) Copyright Jean-Daniel Michaud 2007. Permission to copy, use, modify, // sell and distribute this software is granted provided this copyright notice // appears in all copies. This software is provided "as is" without express or // implied warranty, and with no claim as to its suitability for any purpose. // See http://www.boost.org/LICENSE_1_0.txt for licensing. // See http://code.google.com/p/loglite/ for library home page. #include #include int infinite_loop() { LOGLITE_LOG_L1("oops..."); while (1) ; } int foo() { LOGLITE_LOG_(1, "foo called"); return 7; } int main(int argc, char **argv) { // Define the format of your log LOGLITE_INIT(("[" >> loglite::mask >> "]," >> loglite::filename >> "(" >> loglite::line >> ")," >> loglite::time >> "," >> loglite::trace >> loglite::eol)); // log format // All the logs below level 3 should sink in ./test_macro.log loglite::sink s1(new std::ofstream("./test_macro.log"), LOGLITE_MASK_LEVEL_2); // The sink will only handle the log qualifier s1.attach_qualifier(loglite::log); LOGLITE_ADD_OUTPUT_STREAM(s1); // All the logs below 3 should sink on the standard output loglite::sink s2(&std::cout, LOGLITE_MASK_LEVEL_2); // The sink will only handle the log qualifier s2.attach_qualifier(loglite::log); LOGLITE_ADD_OUTPUT_STREAM(s2); LOGLITE_LOG(LOGLITE_LEVEL_1, loglite::log, "something"); LOGLITE_LOG_L2("something else"); // A log of level 2 (L2) // Logs are not evaluated if no sink is configured to use them LOGLITE_LOG_(LOGLITE_LEVEL_3, "If you evaluate me you die!" << infinite_loop()); char you_want[256] = "you want"; LOGLITE_LOG_(LOGLITE_LEVEL_1, "Let's say " << you_want << " to display " << 2); LOGLITE_LOG_(LOGLITE_LEVEL_1, "foo will be evaluated: " << foo()); return 0; }Output[1],logging_test_macro.cpp(43),2007-Aug-24 07:36:33.858844,something [2],logging_test_macro.cpp(44),2007-Aug-24 07:36:33.858844,something else [1],logging_test_macro.cpp(47),2007-Aug-24 07:36:33.858844,Let's say you want to display 2 [1],logging_test_macro.cpp(21),2007-Aug-24 07:36:33.874469,foo called [1],logging_test_macro.cpp(48),2007-Aug-24 07:36:33.874469,foo will be evaluated: 7 [Less]
Created 12 months ago.

0 Users

mlog is a simple to use, iostreams-based, high performance, multi-threading, unicode, cross-platform logging library for C++
Created 12 months ago.

0 Users

I'd like to write some code useful for programmers. Here is some programs for message logging and displaying. They are mainly developed in C++ language and Microsoft Visual C++ IDE. Some of the codes can be used in Linux.
Created 11 months ago.