User Activity

  • Posted a comment on discussion Open Discussion on 7-Zip

    Hi, I am using lzma to decompress files. after decompression ,files are saved as csv. sometimes ,some files fail decompression because their read size is larger by uncompressed size present in PROPS ,why does this happen?? if I modified code to accept this condition ,i find extra line in csv format having this value as float ,0.476837. can I safely ignore the extra bytes of readtotal and depend only on the uncompressed size? does this value 0.476837 means any thing? thanks alot

  • Posted a comment on discussion Help on Boost.Log

    i try to manually rotate file but error happens if file is empty.can i rotate empty file"with no logs". the error is related to file system not finding path.and i find file name =0000 although i give back end certain target file name. what can i do?

  • Posted a comment on discussion Help on Boost.Log

    too long file name is the problem ....it is problem of boost file system on windows

  • Posted a comment on discussion Help on Boost.Log

    hi i try in short to flush then rotate file to keep log file for each folder then i try to change name of log file this is part of code: BNBSPiter2 is iterator to boost::bimap of backend name string and shared pointer to the back end BackendFileName is string representing file name for log without any pattern"i wonder if set_file_name_pattern can change file name without certain pattern " //i wanna flush rotate and change filename in backend shared pointer std::string BackendCurrentFileName = BNBSPiter2->second->get_current_file_name().filename().generic_string();...

  • Modified a comment on discussion Help on Boost.Log

    it was bimap issue sorry

  • Modified a comment on discussion Help on Boost.Log

    hi i made this logging class to allow me to build loggers during the program working then use them this is the class: my_logger_class_4.h #ifndef MY_LOGGER_CLASS_3_H // if my_logger.h hasn't been included yet... #define MY_LOGGER_CLASS_3_H // #define this so the compiler knows it has been included #include <boost/log/sinks/sync_frontend.hpp> #include <boost/log/sinks/text_file_backend.hpp> //for cout logger #include <boost/log/sinks/text_ostream_backend.hpp> #include <boost/core/null_deleter.hpp>...

  • Posted a comment on discussion Help on Boost.Log

    hi i made this logging class to allow me to build loggers during the program working then use them this is the class: my_logger_class_4.h //#pragma once #ifndef MY_LOGGER_CLASS_3_H // if my_logger.h hasn't been included yet... #define MY_LOGGER_CLASS_3_H // #define this so the compiler knows it has been included /* 0-first date with 404 1-first date with 200 2-dates with zero size after first date with 200 3-dates of saturday and sunday after first date with 200 4-dates not saturday or sunday after...

  • Posted a comment on discussion Help on Boost.Log

    thank you for your reply i declared the as static and it worked fine i think the local scope of the other code of user pdlarue was the reason that her code worked my code is of global scope so it needs static or nameless namescope thanks again i ll now struggle to declare loggers within the function init_logging then use them from main it will be a challenge see you

View All

Personal Data

Username:
ahmed-allam
Joined:
2018-02-23 03:01:18

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB