Lines Matching defs:logs
112 // /tmp that contains the system logs in a KEY=VALUE format.
113 // If this parameter is NULL, system logs are not retained on
122 // Create the temp file, logs will go here
136 // Compress the logs file if requested.
143 // Read logs from the temp file
148 // logs to stay past the ReadFile call - delete the file
155 LogDictionaryType* logs = new LogDictionaryType();
164 (*logs)[key] = kEmptyLogEntry;
166 (*logs)[key] = value;
169 (*logs)[key] = kInvalidLogEntry;
177 return logs;
196 // Reads system logs, compresses content if requested.
204 // Loads compressed logs and writes into |zip_content|.
219 LogDictionaryType* logs,
249 // and adds a "mem_usage" entry to the logs, then forwards the result.
260 // |logs| is modified (see comment above) and passed to |request|.
263 LogDictionaryType* logs,
281 LogDictionaryType* logs,
284 logs_(logs),
314 LogDictionaryType* logs = NULL;
315 logs = GetSystemLogs(
321 // Load compressed logs.
328 (*logs)["dbus"] = dbus::statistics::GetAsString(
333 (*logs)["network_event_log"] = network_event_log::GetAsString(
340 // SyslogsMemoryHandler::OnDetailsAvailable() will modify |logs| and call
341 // request->ForwardResult(logs, zip_content).
343 handler(new SyslogsMemoryHandler(callback, logs, zip_content));
352 LOG(ERROR) << "Cannot read compressed logs file from " <<
379 LogDictionaryType* logs,
384 delete logs;
391 callback.Run(logs, zip_content);
393 origin_runner->PostTask(FROM_HERE, base::Bind(callback, logs, zip_content));