Comments (6)
Yes, the log_rotate tool has been migrated to ulog. It is now called logrotate, and its command line parameter names are connected by dashes.
Now the logrotate inside ulog is stable and available, and I will release a new version number later.
Since log_rotate doesn't have any github star/watch/fork, I thought there was no risk in deleting the standalone log_rotate, but sorry to bother you.
Have you seen the instructions for migrating to ulog internal tools on the readme homepage of log_rotate before?
from ulog.
Now the logrotate inside ulog is stable and available, and I will release a new version number later.
Thank you for your quick response! And no worries, I at least had a local copy which auto updates.
its command line parameter names are connected by dashes.
Ah, I missed this. Thanks for pointing out!
Have you seen the instructions for migrating to ulog internal tools on the readme homepage of log_rotate before?
My local README copy says like this. Is this what you meant?
Please use https://github.com/shawnfeng0/ulog/tree/main/tools/logrotate as an alternative
I am only using the command line interface so I am not really concerned about migrating c code or anything but would be ok if I have the executable.
After cmake and make, The previous build/log_rotate
is equivalent of build/tools/logrotate/logrotate
right?
from ulog.
My local README copy says like this. Is this what you meant?
Please use https://github.com/shawnfeng0/ulog/tree/main/tools/logrotate as an alternative
Yes!
I am only using the command line interface so I am not really concerned about migrating c code or anything but would be ok if I have the executable.
After cmake and make, The previous
build/log_rotate
is equivalent ofbuild/tools/logrotate/logrotate
right?
Yes! v0.4.1 has been released, note that the command line parameter names have changed a bit. You can check it with logrotate --help
.
from ulog.
Thank you so much.
However, I have one problem with v0.4.1
.
It compiles without any problems on my Arch machine but when I switch to an Ubuntu 20.04 machine, I get undefined reference to pthread_create
error. Probably this issue on Stackoverflow
I have no knowledge about c / c++ but I think we need to add pthread
in the tools/logrotate/CMakeLists.txt? Just like mentioned in [examples](https://github.com/shawnfeng0/ulog/tree/main/examples)/CMakeLists.txt
?
at: @shawnfeng0
from ulog.
It compiles without any problems on my Arch machine but when I switch to an Ubuntu 20.04 machine, I get
undefined reference to pthread_create
error. Probably this issue on StackoverflowI have no knowledge about c / c++ but I think we need to add
pthread
in the tools/logrotate/CMakeLists.txt? Just like mentioned in[examples](https://github.com/shawnfeng0/ulog/tree/main/examples)/CMakeLists.txt
?
Yes, I've added it and urgently released version 0.4.2.
I used to have errors when I used the old version of gcc/clang, but now the gcc/clang on my machine are all up-to-date (Arch Linux), maybe the latest compiler has made some changes, it did not report an error, in order to ensure compatibility I added it.
from ulog.
Thank you so much!
Works like a charm ;)
from ulog.
Related Issues (2)
- ULog format/standard HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ulog.