* added Xevent.xelite to packages
* WIP on XELite conversion
* added wip changes
* added streaminfo class for preserving streams
* added list for profilerService
* added cancelXelStreamRequest.cs
* added test configuration for profilerservice
* added request handler using startprofilingrequest
* fix start profiling result
* added small connection string
* WIP branch for XElite (not functional)
* added hardcoded string with working stream
* added check for buildconnectionstring
* added back HandleXEvent
* added profilerservice eventsavailable test
* WIP change for profilersessionmonitor
* added more changes to profilersessionmonitor
* changed HandleXEvent
* added more additions to profielrSessionMonitor
* added startmonitoringstream
* added startmonitoringsession
* added startmonitoringstream to IProfilerSessionMonitor
* switch to monitoringStream
* added assignment of connectioninfo
* added conninfo
* added conninfo to iProfilerSessionMonitor.cs
* added isStreaming flag
* added token list
* added XEventSession name.
* removed polling lock
* test adding filters
* removed old profile filter as its incompatible
* added wip cancel feature in removesession
* moved cancellationtoken outside
* added backIsStreaming
* moved isstreaming around
* added multiple events in list
* added timeout to handleXEvent
* removed timeout
* remove eventList count check
* remove old events filter
* returned eventlist
* remove old events filter
* renamed xelite handle function
* restored sqlclient version
* removed original handlestartprofilingrequest
* added monitoring stream to handlecreatexeventsessionrequest
* removed unnecessary sections from monitor
* Revert "removed unnecessary sections from monitor"
This reverts commit 91cadeebeeedfe99cec2e9c42944ba6716d95a61.
* added xevent actions to profileEvent
* removed polling lock for processStreams
* added filter for oldevents
* removed unused methods
* removed comment
* removed unnecessary class
* removed unnecessary requests
* removed outdated methods
* added work in progress cancellation task
* added profilersessionmonitor changes
* added small changes
* renamed startMonitoringStream
* more changes related to feedback
* made changes to code
* removed more polling code
* fixed tests
* added connectioninfo to testxeventsessions
* changed functions
* added back else
* small formatting fix
* more changes made
* added changes to XEventSession
* update to strings
* added changes to accomodate tests
* more changes
* added profilerservicetest for stopprofiling
* added TestStoppedSessionNotification test
* added session missing details handler
* simplified error message
* restored strings and added changes
* added auto-getter setter for IsStreaming
* added more changes
* removed unnecessary lines from test
* added more debugging messages
* made last changes
* added error message for handlestopprofilingrequest
* added more debug messages
* added back an s
* added verbose
* Remove xunit dependency from testdriver
* swap expected/actual as needed
* Convert Test.Common to nunit
* port hosting unit tests to nunit
* port batchparser integration tests to nunit
* port testdriver.tests to nunit
* fix target to copy dependency
* port servicelayer unittests to nunit
* more unit test fixes
* port integration tests to nunit
* fix test method type
* try using latest windows build for PRs
* reduce test memory use
This change modifies the logging framework within sqltoolservice.
Moves away from custom Logger object to start using .Net tracing framework. It supports for the static Trace and TraceSource way of logging. For all new code it is recommend that we log the log messages using the existing static Logger class, while the code changes will continue to route the older Trace.Write* calls from the process to same log listeners (and thus the log targets) as used by the Logger class. Thus tracing in SMO code that uses Trace.Write* methods gets routed to the same file as the messages from rest of SQLTools Service code.
Make changes to start using .Net Frameworks codebase for all logging to unify our logging story.
Allows parameter to set tracingLevel filters that controls what kinds of message make it to the log file.
Allows a parameter to set a specific log file name so if these gets set by external code (the UI code using the tools service for example) then the external code is aware of the current log file in use.
Adding unittests to test out the existing and improved logging capabilities.
Sequences of checkins in development branch:
* Saving v1 of logging to prepare for code review. Minor cleanup and some end to end testing still remains
* Removing local launchSettings.json files
* added support for lazy listener to sqltoolsloglistener and removed incorrect changes to comments across files in previous checkin
* Converting time to local time when writing entries to the log
* move the hosting.v2 to new .net based logging code
* removing *.dgml files and addding them to .gitignore
* fixing typo of defaultTraceSource
* Addressing pull request feedback
* Adding a test to verify logging from SMO codebase
* propogating changes to v1 sqltools.hosting commandoptions.cs to the v2 version
* Fixing comments on start and stop callstack methods and whitespaces
* Commenting a test that got uncommented by mistake
* addding .gitattributes file as .sql file was observed to be misconstrued as a binary file
* Initial changes for adding lost event notifications
* Handling polling errors by notifying listeners
* Restructuring lost events & testing
* Minor fixes to tests
* Add back in filtering
* Changing how lost events are found
* Cleaning up tests
* Fix a few issues with profiler method handlers
* Filter out profiler polling events
* Add a unit test for profiler events
* Add method comment headers
* Bump SMO to 140.2.5 to pick-up private XEvent binaries
* Pick up SMO binaries from the build lab
* Add ProfilerService class placeholder
* Update SMO nuget package to include DB Scoped XEvents
* Stage changes
* Stage changes
* Update SMO to use RTM dependencies and remove separate SqlScript package
* Stage changes
* Iterate on profiler service
* Fix post-merge break in localization
* More refactoring
* Continue iterating on profiler
* Add test profiler listener
* Address a couple of the code review feedback
* Fix AppVeyor build break
* Use self-cleaning test file