File tree 1 file changed +0
-5
lines changed
1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,6 @@ class TraceTool
34
34
and also transaction latency (the last one). */
35
35
vector<ulint> transaction_start_times; /* !< Stores the start time of transactions. */
36
36
37
- ofstream log_file;
38
-
39
37
TraceTool ();
40
38
TraceTool (TraceTool const &){};
41
39
public:
@@ -223,8 +221,6 @@ TraceTool::TraceTool() : function_times()
223
221
transaction_start_times.push_back (0 );
224
222
225
223
srand (time (0 ));
226
-
227
- log_file.open (" logs/trace.log" );
228
224
}
229
225
230
226
bool TraceTool::should_monitor ()
@@ -241,7 +237,6 @@ void *TraceTool::check_write_log(void *arg)
241
237
{
242
238
sleep (5 );
243
239
timespec now = get_time ();
244
- instance->log_file << " Checking" << endl;
245
240
if (now.tv_sec - global_last_query.tv_sec >= 5 && transaction_id > 0 )
246
241
{
247
242
/* Create a back up of the debug log file in case it's overwritten. */
You can’t perform that action at this time.
0 commit comments