Atlante45
ae29fe8ab2
Logging improvements
2016-11-04 14:26:19 -07:00
Seth Alves
83f2c723eb
collect permissions into their own data structure
2016-06-02 13:15:30 -07:00
Stephen Birarda
0b578bf086
only enable logging if a log directory is passed
2016-03-04 12:56:35 -08:00
Stephen Birarda
efa46b8c7b
add option to disable AC child file logging
2016-03-04 11:58:46 -08:00
Ryan Huffman
c31ceeca86
Add deletion of old log files
2016-01-20 15:35:30 -08:00
Ryan Huffman
58344416fd
Remove extra whitespace
2016-01-19 15:16:17 -08:00
Ryan Huffman
84f4b4b935
Remove dead code
2016-01-19 15:15:54 -08:00
Stephen Birarda
e6ccce6a38
fix placement of _logDirectory member variable
2016-01-15 15:41:34 -08:00
Ryan Huffman
4851def51c
Add status HTTP server to AC Monitor
2016-01-08 10:35:04 -08:00
Ryan Huffman
b907a04a3f
Add log directory to AssignmentClientMonitor
2015-12-16 09:08:51 -08:00
Ryan Huffman
dac491ef41
Merge branch 'master' of https://github.com/highfidelity/hifi into proto-received-message
2015-11-24 09:59:22 -08:00
Stephen Birarda
271387f96e
use a unique_ptr for linkedData in Node
2015-11-18 18:03:31 -08:00
Ryan Huffman
2a416ebc61
Merge branch 'master' of https://github.com/highfidelity/hifi into received-message
2015-11-18 16:52:23 -08:00
Anthony J. Thibault
f50e1a0977
Fix for rare crash in LogHandler::flushRepeatedMessages()
...
This can happen when LogHandler::flushRepetedMessages is called on
the main thread, while the application is printing messages on
a separate thread. The access to the _lastRepeatedMessage QHash was
not guarded.
I've added two mutexes to guard access to both the repeatedMessage
hashes/regexes and the onlyOnceMessages/regexes. This will unfortunately
incur a performance hit for frequent debug logging, but that's better
then crashing.
Also, I've added the ability to print threadIDs as well as Process ids.
This is helpful when debugging multi-threaded access to shared variables.
2015-10-30 17:18:37 -07:00
Ryan Huffman
7682ab00e3
Add ReceivedMessage and receive progress
2015-10-15 14:09:53 -07:00
Seth Alves
0e63147be2
Merge pull request #5776 from birarda/ac-pid-zero
...
make sure AC process ID is valid before acting on the process
2015-09-11 10:00:08 -07:00
Atlante45
5808658958
Make NodeJSONStats reliable
2015-09-11 14:21:53 +02:00
Stephen Birarda
d10095ed20
make sure AC PID is valid before acting on process
2015-09-10 16:55:25 -07:00
Stephen Birarda
28d9610bd4
add a listen port option to ACs
2015-08-28 07:31:17 -07:00
Stephen Birarda
6860f3d126
add readWithoutCopy for clarity in Packet read
2015-08-19 14:32:26 -07:00
Stephen Birarda
1fd4a1f0c3
resolve conflicts on merge with upstream master
2015-07-17 16:07:45 -07:00
Stephen Birarda
0f534b9f7b
fixes for new read and NLPacketList
2015-07-17 15:43:20 -07:00
Stephen Birarda
ce6585ccc8
fix AC monitor and AM double register
2015-07-16 17:44:43 -07:00
Atlante45
c6f6dbd845
Fix QByteArray from rqw data
2015-07-16 09:59:15 -07:00
Atlante45
fbb6a94579
Merge branch 'receive_packets' of https://github.com/huffman/hifi into protocol
2015-07-14 16:36:28 -07:00
Ryan Huffman
71866d52ed
Update packet reading to use fromRawData for reading uuid
2015-07-14 15:43:00 -07:00
Ryan Huffman
56b5c9acff
Merge branch 'atp' of github.com:birarda/hifi into receive_packets
...
Conflicts:
assignment-client/src/entities/EntityServer.cpp
domain-server/src/DomainServer.cpp
2015-07-14 14:53:45 -07:00
Ryan Huffman
1af01c9003
Fix style issue in AssignmentClientMonitor
2015-07-14 14:23:53 -07:00
Stephen Birarda
0637f589b5
add PacketListener to help unregister for packets
2015-07-14 13:52:38 -07:00
Stephen Birarda
1c9f43e5aa
compile fixes for AC status packet
2015-07-13 16:03:05 -07:00
Stephen Birarda
8d38cd5670
use a specific packet type for AC child status
2015-07-13 15:58:44 -07:00
Atlante45
c80df94b06
Update includes for moved files
2015-07-13 15:28:55 -07:00
Atlante45
957e6394a9
sendPacket function take Node& not a pointer
2015-07-13 11:57:20 -07:00
Ryan Huffman
582de14917
Fix compilation errors in AssignmentClientMonitor
2015-07-13 09:25:57 -07:00
Ryan Huffman
879b880254
Fix non-ref var to PacketReceiver
2015-07-13 08:30:13 -07:00
Ryan Huffman
ed3b8afbd9
Update AssignmentClientMonitor to use PacketReceiver
2015-07-10 18:09:08 -07:00
Atlante45
605b004514
Assigment client compile fixes
2015-07-09 11:19:36 -07:00
Stephen Birarda
74940a2132
replace lingering PacketTypes in old format
2015-07-08 10:18:13 -07:00
Ryan Huffman
3690ecc28f
Add std::move to sendPacket calls
2015-07-07 16:24:11 -07:00
Stephen Birarda
abfda21814
CR fixes in AssignmentClientMonitor
2015-07-07 14:47:36 -07:00
Stephen Birarda
269bea65fb
fix AssignmentClientMonitor and AudioMixer to use NLPacket
2015-07-06 17:20:08 -07:00
Stephen Birarda
5a57e9861c
packet API changes in AssignmentClientMonitor
2015-07-06 16:38:33 -07:00
Stephen Birarda
81460e48f4
fix for sticking windows audio-mixer
2015-06-11 17:25:27 -07:00
Stephen Birarda
7b903d29e7
fix missed conflict on merge with upstream/master
2015-05-11 12:58:00 -07:00
Stephen Birarda
8c6715e4fc
resolve conflicts on merge with upstream/master
2015-05-11 11:10:22 -07:00
Stephen Birarda
ebeba81233
make sure an ACM asks for PID in log
2015-05-08 17:37:48 -07:00
Stephen Birarda
be03a65dc7
remember the pid of previous child processes
2015-05-08 17:30:22 -07:00
Stephen Birarda
7b91dbfe07
wait on all children simultaneously
2015-05-08 17:24:20 -07:00
Stephen Birarda
83cd50c7ae
use waitOnChildren again from checkSpares
2015-05-08 16:24:20 -07:00
Stephen Birarda
ba2ccc1e98
change waitOnChildren syntax in AC monitor
2015-05-08 16:23:44 -07:00