Activities of "abpnewtonvisionco"

I was finally able to make it work. For everyone who wonders, you'll need to add the configuration in the "Shared.Hosting" project. under the class SerilogConfigurationHelper. There I used the nuget for SerilogSinksSendgrid and done

sure. no problem. : )

Hi Maliming, we got a project were we are sure the emailing is working, however I still can't make the serilog send an email with the error, is there any demo for this with ABP? I couldn't find any information about this.

Also when adding the Sink for file/console it is only logging the httpapihist errors, not the one in the other layers, how can we implement so we see the erros from all the layers ? As I am sure if I fix the email issue I will only get the errors from the httpapihost layer

hi

You need to make sure your email sender configuration is correct.

Then use WriteTo.Email in all projects that want to use email to output logs.

https://github.com/serilog/serilog-sinks-email

Hi Maliming,

Thanks I'll review it as soon as possible and will ask if I got any other question. Thanks again!

hi

but it doesnt work, that's why I was checking if the file log worked. but it didnt...

You can test your mail sender configuration via https://github.com/abpframework/abp-samples/tree/master/EmailSendDemo https://github.com/serilog/serilog-sinks-email/blob/dev/src/Serilog.Sinks.Email/Sinks/Email/MailKitEmailTransport.cs#L24-L37

Hi Maliming thanks for the answer, I don't require to do any other configuration in the Program file?

hi

Each website has its log configuration. They are usually written to the Logs.txt.
If you want all website logs written to a single file. You can configure a shared log file.

Hi Maliming actually what I need is to send them via email with send grid and also record them in the application insight, however I am doing a proof of concept. And what I found in this test is that it doesn't write to the log file that I specified. However with what you mentioned could be a reason on why it is not writting to the file I mention.

How can I achieve to send the error logs to the email? I tried using

.WriteTo.Email( fromEmail: "thisisanexample@example.com", toEmail: "cijal75666@minhlun.com", mailServer: "smtp.sendgrid.net", restrictedToMinimumLevel: LogEventLevel.Error )

but it doesnt work, that's why I was checking if the file log worked. but it didnt...

Hello,

I apologies for misunderstanding.
In ABP commercial when we add any module as a source code then it is given as a ProjectReference in .csproj files like

This module is professional one so its like Volo.Identity.Pro and for module source code the reference is given as a PackageReference in .csproj files like because the Professional modules are build on top of basic modules. For basic modules we need to use Nuget Package references.

Thanks

I see, thanks for the explanation, however, how do I make the error go away if I want to import the source code and execute Identity?

Hello,

Try to change PackageReference to ProjectReference and check again.

Thanks

Please let me know if I can share more info to be able to fix this one.

Thanks

Hello,

Try to change PackageReference to ProjectReference and check again.

Thanks

Hi, thanks for the response.

I think you miss understood what I mentioned. In my project I have:

However in the source code I see the following:

I am not mentioning this is what causes the issue I reported, but it's something that I see that doesn't make much sense from what I saw in the other modules I imported the source code

Hi,

I guess the user's email address was not confirmed, but there was a problem when confirming the email address.

Please share it with email: shiwei.liang@volosoft.com

Thanks.

Hi Liang,

Done. I sent them to you.

Hi,

Sure, I have them with the app insight telemetry, can I send you those or you want them in a specific way?

Showing 1 to 10 of 25 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11