mirror of
https://github.com/Py-KMS-Organization/py-kms.git
synced 2025-07-20 16:55:53 +02:00
Database keeps different AppId (#50), restyling minimal info logging
This commit is contained in:
parent
33cedce48c
commit
016a4c367f
9 changed files with 101 additions and 83 deletions
|
@ -166,7 +166,7 @@ The following are just some brief notes about parameters handling. For a more de
|
|||
- To generate a random HWID use `-w` option: `python3 pykms_Server.py -w RANDOM`.
|
||||
- To get the HWID from any server use the client, for example type: `python3 pykms_Client.py :: 1688 -m Windows8.1 -V INFO`.
|
||||
- To change your logfile path use `-F` option, for example: `python3 pykms_Server.py -F /path/to/your/logfile.log -V DEBUG`.
|
||||
- To view a minimal set of logging information use `-V MINI` option, for example: `python3 pykms_Server.py -F /path/to/your/logfile.log -V MINI`.
|
||||
- To view a minimal set of logging information use `-V MININFO` option, for example: `python3 pykms_Server.py -F /path/to/your/logfile.log -V MININFO`.
|
||||
- To redirect logging on stdout use `-F STDOUT` option, for example: `python3 pykms_Server.py -F STDOUT -V DEBUG`.
|
||||
- You can create logfile and view logging information on stdout at the same time with `-F FILESTDOUT` option, for example: `python3 pykms_Server.py -F FILESTDOUT /path/to/your/logfile.log -V DEBUG`.
|
||||
- With `-F STDOUTOFF` you disable all stdout messages (but a logfile will be created), for example: `python3 pykms_Server.py -F STDOUTOFF /path/to/your/logfile.log -V DEBUG`.
|
||||
|
|
|
@ -66,7 +66,7 @@ Default setting is serve forever (no timeout).
|
|||
the overhead involved becomes more expensive, so using this option you enable printing (pretty / logging) messages
|
||||
asynchronously reducing time-consuming. Deactivated by default.
|
||||
|
||||
-V or --loglevel <{CRITICAL, ERROR, WARNING, INFO, DEBUG, MINI}>
|
||||
-V or --loglevel <{CRITICAL, ERROR, WARNING, INFO, DEBUG, MININFO}>
|
||||
> Use this flag to set a logging loglevel. The default is _ERROR_.
|
||||
example:
|
||||
```
|
||||
|
@ -162,7 +162,7 @@ You can also put further parameters as defined below:
|
|||
-m or --mode <{WindowsVista, Windows7, Windows8, Windows8.1, Windows10, Office2010, Office2013, Office2016, Office2019}>
|
||||
> Use this flag to manually specify a Microsoft _PRODUCTNAME_ for testing the KMS server. Default is Windows8.1.
|
||||
|
||||
-c or --cmid <CMID>
|
||||
-c or --cmid <CMID>
|
||||
> Use this flag to manually specify a CMID to use. If no CMID is specified, a random one will be generated.
|
||||
The Microsoft KMS host machine identifies KMS clients with a unique Client Machine ID
|
||||
(CMID, example: ae3a27d1-b73a-4734-9878-70c949815218). For a KMS client to successfully activate, the KMS server
|
||||
|
@ -179,7 +179,7 @@ activate regardless of CMID being unique for a subset of specific machines or no
|
|||
-y or --async-msg
|
||||
> Prints pretty / logging messages asynchronously. Deactivated by default.
|
||||
|
||||
-V or --loglevel <{CRITICAL, ERROR, WARNING, INFO, DEBUG, MINI}>
|
||||
-V or --loglevel <{CRITICAL, ERROR, WARNING, INFO, DEBUG, MININFO}>
|
||||
> Use this flag to set a logging loglevel. The default is _ERROR_.
|
||||
|
||||
-F or --logfile <LOGFILE>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue