Re: [LEDE-DEV] [PATCH 2/3] [ubox] syslog: change log buffer size

2016-06-03 Thread John Crispin
On 03/06/2016 12:59, Dan Bugnar wrote: > Change the log buffer size and copy the messages. > Copy the messages from the oldest to newest using the log_list. > First time we calculate the size of the all entries. The log_entries_size > calculates the size indifferent of the positions of the newest

Re: [LEDE-DEV] [PATCH 2/3] [ubox] syslog: change log buffer size

2016-06-03 Thread Conor O'Gorman
On 03/06/16 11:59, Dan Bugnar wrote: Change the log buffer size and copy the messages. Copy the messages from the oldest to newest using the log_list. First time we calculate the size of the all entries. The log_entries_size calculates the size indifferent of the positions of the newest and oldes

[LEDE-DEV] [PATCH 2/3] [ubox] syslog: change log buffer size

2016-06-03 Thread Dan Bugnar
Change the log buffer size and copy the messages. Copy the messages from the oldest to newest using the log_list. First time we calculate the size of the all entries. The log_entries_size calculates the size indifferent of the positions of the newest and oldest. If we want to increase the log buff