Comments (7)
@eoursel:
Logs\Opc.Ua.SampleServer.log.txt should probably be Logs/Opc.Ua.SampleServer.log.txt
Can you try this out?
from ua-.netstandard.
Yes. I tried. But it does not change anything. The trace file is always created in /tmp/trace.log
from ua-.netstandard.
OK, thanks. We'll have a look...
from ua-.netstandard.
After a comparison with the original .NET code, i found that the method Utils.SetTraceLog() is not called by the stack in TraceConfiguration class. So the trace system is not correctly initialized.
from ua-.netstandard.
@barnstee, I found some issues in Opc.Ua.Core/Types/Utils/Utils.cs. While i could fix that easily, i think the code could be enhanced and secured with the usage of a portable framework which is natively supported on the .NET core platform and will be extensible such as the Microsoft.Extensions.Logging package (https://msdn.microsoft.com/en-us/magazine/mt694089.aspx).
Let me know what you think about that.
from ua-.netstandard.
@eoursel, thanks for figuring this one out. Let's do this: Pease submit a pull request with the easy fix and then take a stab at enhancing the logging with the new Microsoft.Extensions.Logging package. When making a major change like this, it is always important to make sure the packages are supported and working properly on all target frameworks, i.e. .Net Core, UWP, .Net 4.6.
from ua-.netstandard.
I believe I fixed the trace log issue. Please pull. There were several small fixes to be made. The difficulty is that in UWP, you don't have write access to the application directory, so you need to write the trace file to temp. If you want the tracefile somplease else, you need to specify an absolute path.
from ua-.netstandard.
Related Issues (20)
- Issue connecting to Kepware.KEPServerEX.V6 HOT 2
- Flaky build due to NodeState concurrency tests HOT 2
- CRL with zero revoked certificates fails to be decoded
- Something slows everything down HOT 4
- Server allows unlimited number of channels and doesn't remove stale channels
- IOP: Data structure Data:Array:ByteValue returns ByteString as datatype instead of Byte array.
- IOP: Loading complex may throw BadNothingTodo exception if DataTypeDictionary nodes are not populated
- Wireshark logs show sometimes a lot of TCP retransmissions HOT 2
- Usage of outdated and unmaintained dependencies HOT 1
- how to use Redundancy HOT 1
- CertificateIdentifier:Find(bool) returns no private key after Version 1.4.367.0 HOT 2
- Improve console client sample with user certificate support
- KeyFrame is not sent if no changed values HOT 1
- Could not load Configuration file (Implementation as a Windows Service) HOT 1
- Programmatically creation of Macinery Nodeset on Server HOT 2
- <Reprovisioning after OPC UA Server Certificate Revocation> HOT 4
- NullReferenceException in XmlDecoder.ReadExpandedNodeId
- Private key of application certificate must be set to exportable HOT 2
- Object with OpcUaType_NullEventNotifier gives NullReferenceException in opc ua client HOT 1
- Too many messages of "UaPublisher - PublishNetworkMessage, WriterGroupId:{0}; success = {1}" on log file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ua-.netstandard.