Skip to content

Instantly share code, notes, and snippets.

@wurdum
Created July 17, 2018 13:42
Show Gist options
  • Save wurdum/5ac420cc6d9c6137bcf1aeddd86ed154 to your computer and use it in GitHub Desktop.
Save wurdum/5ac420cc6d9c6137bcf1aeddd86ed154 to your computer and use it in GitHub Desktop.
Log file example
2018-07-17 13:17:10.102 +03:00 [INF] Starting web host
2018-07-17 13:17:13.299 +03:00 [INF] User profile is available. Using '/Users/wurdum/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest.
2018-07-17 13:17:45.772 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:5000/api/alerts/sdasdsa?status=HASKJDHLA&snoozed=fooob
2018-07-17 13:17:47.343 +03:00 [INF] Executing action method Enstoa.Services.SFBuild.Controllers.AlertsController.GetAll (Enstoa.Services.SFBuild) with arguments (["sdasdsa","HASKJDHLA","False"]) - ModelState is "Invalid"
2018-07-17 13:19:07.774 +03:00 [INF] Executed action Enstoa.Services.SFBuild.Controllers.AlertsController.GetAll (Enstoa.Services.SFBuild) in 81349.885000000009ms
2018-07-17 13:19:08.466 +03:00 [ERR] An unhandled exception has occurred while executing the request
System.Data.SqlClient.SqlException (0x80131904): A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: TCP Provider, error: 40 - Could not open a connection to SQL Server)
at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling)
at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
at System.Data.SqlClient.SqlConnection.Open()
at Dapper.SqlMapper.<QueryImpl>d__138`1.MoveNext() in C:\projects\dapper\Dapper\SqlMapper.cs:line 1081
at System.Collections.Generic.List`1.AddEnumerable(IEnumerable`1 enumerable)
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Dapper.SqlMapper.Query[T](IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Boolean buffered, Nullable`1 commandTimeout, Nullable`1 commandType) in C:\projects\dapper\Dapper\SqlMapper.cs:line 723
at Enstoa.Services.Core.DataManagers.ConfigurationDM.GetAppService(String serviceType, String entityType)
at Enstoa.Services.SFBuild.Repos.BuildDataModel.<GetResponseFromService>d__16`1.MoveNext() in /Users/wurdum/Code/work/enstoa/sf-build-service/Enstoa.Services.SFBuild/Enstoa.Services.SFBuild/Repos/BuildDataModel.cs:line 81
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Enstoa.Services.SFBuild.Repos.BuildDataModel.<GetAllAlertsAsync>d__12.MoveNext() in /Users/wurdum/Code/work/enstoa/sf-build-service/Enstoa.Services.SFBuild/Enstoa.Services.SFBuild/Repos/BuildDataModel.cs:line 59
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Enstoa.Services.SFBuild.Controllers.AlertsController.<GetAll>d__2.MoveNext() in /Users/wurdum/Code/work/enstoa/sf-build-service/Enstoa.Services.SFBuild/Enstoa.Services.SFBuild/Controllers/AlertsController.cs:line 32
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeActionMethodAsync>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeNextActionFilterAsync>d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeInnerFilterAsync>d__14.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextResourceFilter>d__22.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeFilterPipelineAsync>d__17.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeAsync>d__15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.AspNetCore.Builder.RouterMiddleware.<Invoke>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIIndexMiddleware.<Invoke>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.<Invoke>d__6.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.<Invoke>d__7.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.<Invoke>d__7.MoveNext()
ClientConnectionId:00000000-0000-0000-0000-000000000000
2018-07-17 13:19:09.049 +03:00 [INF] Request finished in 83286.628ms 500 text/html; charset=utf-8
2018-07-17 15:41:06.547 +03:00 [INF] Starting web host
2018-07-17 15:41:09.765 +03:00 [INF] User profile is available. Using '/Users/wurdum/.aspnet/DataProtection-Keys' as key repository; keys will not be encrypted at rest.
2018-07-17 15:41:14.662 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:5000/api/alerts/sdasdsa?status=HASKJDHLA&snoozed=fooob
2018-07-17 15:41:16.333 +03:00 [INF] Executing action method Enstoa.Services.SFBuild.Controllers.AlertsController.GetAll (Enstoa.Services.SFBuild) with arguments (["sdasdsa","HASKJDHLA","False"]) - ModelState is "Invalid"
2018-07-17 15:41:19.253 +03:00 [INF] Send get to http://10.18.6.32/Services/SFS-Base-Alert/api/Alert/sdasdsa?status=HASKJDHLA&snoozed=False to retrieve data from Alerts service.
2018-07-17 15:41:19.802 +03:00 [INF] Executing ObjectResult, writing value Microsoft.AspNetCore.Mvc.ControllerContext.
2018-07-17 15:41:19.875 +03:00 [INF] Executed action Enstoa.Services.SFBuild.Controllers.AlertsController.GetAll (Enstoa.Services.SFBuild) in 4486.2620000000006ms
2018-07-17 15:41:19.887 +03:00 [INF] Request finished in 5241.768ms 200 application/json; charset=utf-8
2018-07-17 15:41:35.829 +03:00 [INF] Request starting HTTP/1.1 GET http://localhost:5000/api/dashboard/252,127,90,3580,3211,4306,3994,3800,4492
2018-07-17 15:41:35.836 +03:00 [INF] Executing action method Enstoa.Services.SFBuild.Controllers.DashboardController.Get (Enstoa.Services.SFBuild) with arguments (["252,127,90,3580,3211,4306,3994,3800,4492"]) - ModelState is "Valid"
2018-07-17 15:41:36.050 +03:00 [INF] Send get to http://10.18.6.32/Services/SFS-Base-Schedule/api/Schedule/Summary/252,127,90,3580,3211,4306,3994,3800,4492 to retrieve data from ScheduleSummary service.
2018-07-17 15:41:37.041 +03:00 [INF] Send get to http://10.18.6.32/Services/SFS-Base-Budget/api/Budget/BudgetBreakdown/252,127,90,3580,3211,4306,3994,3800,4492 to retrieve data from BudgetDetailBreakdown service.
2018-07-17 15:41:37.775 +03:00 [INF] Send get to http://10.18.6.32/Services/SFS-Base-Budget/api/Budget/CategorySummary/252,127,90,3580,3211,4306,3994,3800,4492 to retrieve data from BudgetCategorySummary service.
2018-07-17 15:41:38.321 +03:00 [INF] Send get to http://10.18.6.32/Services/SFS-Base-Budget/api/Budget/PortfolioSummary/252,127,90,3580,3211,4306,3994,3800,4492 to retrieve data from BudgetPortfolioSummary service.
2018-07-17 15:41:38.938 +03:00 [INF] Send get to http://10.18.6.32/Services/SFS-Base-Budget/api/Budget/Summary/252,127,90,3580,3211,4306,3994,3800,4492 to retrieve data from BudgetSummary service.
2018-07-17 15:41:39.233 +03:00 [INF] Executing ObjectResult, writing value Microsoft.AspNetCore.Mvc.ControllerContext.
2018-07-17 15:41:39.264 +03:00 [INF] Executed action Enstoa.Services.SFBuild.Controllers.DashboardController.Get (Enstoa.Services.SFBuild) in 3428.869ms
2018-07-17 15:41:39.264 +03:00 [INF] Request finished in 3435.442ms 200 application/json; charset=utf-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment