Comments (7)
I don't thnk there is a race condition within packet_log_writer. There may be somewhere in the code where close is being called twice within same second. Are you only seeing this at shutdown?
from cosmos.
Unfortunately no it was during normal running. I'll dig up the server log messages for that time period.
Question label?
from cosmos.
:) Question label is just because I'm not sure this is an actual bug or not.
from cosmos.
I found several instances of this occurring in the sever message log. The signature is basically this:
2015/02/02 16:35:58.088 INFO: Log File Opened : 2015_02_02_16_35_58_tlm.bin
2015/02/02 16:35:58.089 INFO: Log File Closed : 2015_02_02_16_35_58_tlm.bin
2015/02/02 16:35:58.090 INFO: Log File Opened : 2015_02_02_16_35_58_tlm_1.bin
When I open the first file it always has just a single packet in it. I've had this happen with both command and telemetry logs. Frequency seems to be about once a day although it's a bit sporadic.
I have 7 loggers which are all basically setup as follows:
PACKET_LOG_WRITER DEFAULT meta_packet_log_writer.rb COSMOS META config/data/default_meta_pri.txt true true cosmos true 600
from cosmos.
Is there another "Log File Closed" line immediately before your first "Log File Opened" ?
from cosmos.
In most cases the last log file was closed 2s or so before. However in one command log it was closed 2 hours before.
from cosmos.
Ok I see the problem. Fix in a minute.
from cosmos.
Related Issues (20)
- Raw Data is going into a UNKNOWN packet of the UNKNOWN target . HOT 5
- COSMOS v4 Support Timeline HOT 2
- ERROR: UNKNOWN PACKET
- Return telemetry logfile name with script (ruby/python/shell script) HOT 2
- IGNORE_ITEM (in target.txt) Has no Effect
- Error while using Little_Endian for the ccsds item definition
- BLOCK data type and command sender sometimes sends raw json data HOT 1
- Can cosmos read from the excel file? HOT 1
- Extremely basic Telemetry message never identifying packets HOT 2
- Mapping Single Target to Multiple Interfaces HOT 3
- cmd() blocks when other thread blocks on get_packets()
- How to setup X Server
- User Definable Radio Buttons
- View "Command Sender" logs in a telemetry screen?
- Enable admins to download plugins gems
- Rename "Download" button to "Upload" in plugin admin page
- Expose telemetry on an OpenTelemetry endpoint
- Opening a telemetry screen with a button on another telemetry screen HOT 1
- Using a return code with wait_packet to trigger code HOT 1
- OBE
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 cosmos.