CONFIGURING LOGGING IN NON-EMULATED ENVIRONMENT USING COMMANDS AND CONFIGURATION IN EMULATED ENVIRONMENT
Methods and systems for logging data in a computing system are disclosed. The methods and systems include receiving a first request to create log data of an activity of the computing system. The methods and systems further include acquiring information about the activity of the computing system. The methods and systems further include creating the log data of the activity of the computing system. The methods and systems further include retrieving stored log data.
1 . A method for logging data in a computing system, comprising:
receiving, at a processor executing an operating system, a first request from an emulated environment to create log data of an activity of the computing system;
acquiring, at the processor executing the operating system, information about the activity of the computing system; and
creating, with the processor executing the operating system, the log data of the activity of the computing system.
2 . The method of claim 1 , further comprising:
setting, with the processor executing the operating system, a log level of the log data of the activity of the computing system.
3 . The method of claim I, further comprising:
receiving, at the processor executing the operating system, a second request from the emulated environment to set a log level of the log data of the activity of the computing system; and
setting, with the processor executing the operating system, the log level of the log data of the activity of the computing system.
4 . The method of claim 3 , wherein the first request and the second request are received at the processor executing the operating system simultaneously.
5 . The method of claim 1 , wherein the activity of the computing system is an activity of a networking component of the computing system.
6 . The method of claim 1 , further comprising:
receiving, at the processor executing the operating system, a third request from the emulated environment to retrieve stored log data; and
transmitting, from the operating system, the stored log data.
7 . The method of claim 6 , wherein the first request, the second request, and the third request are received at the processor executing the operating system simultaneously.
8 . A computer program product, comprising:
a non-transitory computer-readable medium comprising instructions which, when executed by a processor of a computing system, cause the processor to perform the steps of:
receiving a first request from an emulated environment to create log data of an activity of the computing system;
acquiring information about the activity of the computing system; and
creating the log data of the activity of the computing system.
9 . The computer program product of claim 8 , wherein the medium further comprises instructions to cause the processor to perform the steps of:
setting a log level of the log data of the activity of the computing system.
10 . The computer program product of claim 8 , wherein the medium further comprises instructions to cause the processor to perform the steps of:
receiving a second request from the emulated environment to set a log level of the log data of the activity of the computing system; and
setting the log level of the log data of the activity of the computing system.
11 . The computer program product of claim 10 , wherein the first request and the second request are received simultaneously.
12 . The computer program product of claim 8 , wherein the activity of the computing system is an activity of a networking component of the computing system.
13 . The computer program product of claim 8 , wherein the medium further comprises instructions to cause the processor to perform the steps of:
receiving a third request from the emulated environment to retrieve stored log data; and
transmitting the stored log data.
14 . The computer program product of claim 13 , wherein the first request, the second request, and the third request are received simultaneously.
15 . An apparatus, comprising:
a memory; and
a processor coupled to the memory, the processor being configured to execute the steps of:
receiving a first request from an emulated environment to create log data of an activity of the computing system;
acquiring information about the activity of the computing system; and
creating the log data of the activity of the computing system.
16 . The apparatus of claim 15 , wherein the processor is further configured to perform the steps of:
setting a log level of the log data of the activity of the computing system.
17 . The apparatus of claim 15 , wherein the processor is further configured to perform the steps of:
receiving a second request from the emulated environment to set a log level of the log data of the activity of the computing system; and
setting the log level of the log data of the activity of the computing system.
18 . The apparatus of claim 17 , wherein the first request and the second request are received simultaneously.
19 . The apparatus of claim 15 , wherein the activity of the computing system is an activity of a networking component of the computing system.
20 . The apparatus of claim 15 , wherein the processor is further configured to perform the steps of:
receiving a third request from the emulated environment to retrieve stored log data; and
transmitting the stored log data.