Commit 20b9b9fa authored by Philipp's avatar Philipp

Update opcua-server-fhi/minimal-server.py

parent 72fa111d
......@@ -9,6 +9,7 @@ import logging
from asyncua import Server, ua
from asyncua.common.methods import uamethod
import argparse
import random
# command line handling
parser = argparse.ArgumentParser(description='Run OPCUA Server.')
......@@ -67,5 +68,5 @@ async def main():
await asyncio.sleep(1)
if __name__ == "__main__":
logging.basicConfig(level=logging.DEBUG)
asyncio.run(main(), debug=True)
logging.basicConfig(level=logging.INFO)
asyncio.run(main(), debug=False)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment